Questions tagged as 'angularjs'

2
answers

Hide image taken by html2canvas

I need the screenshot that is taken with html2canvas to be in a hidden div, since it is shown on the page and I definitely do not want it to do that. I tried putting the div in the html giving it an id but it does not work. This is the code I ha...
asked by 12.06.2016 / 01:02
4
answers

Compare two arrays and add non-repeated values to a new array in Angular js

I'm trying to compare two arrays with different lengths and that the non-repeating values are added to a new array. I would like to know how I do it, then I share my code: var myApp = angular.module('myApp',[]); //myApp.directive('myDirect...
asked by 09.07.2016 / 07:49
1
answer

Problem with loading jquery plugin in Angular (ngroute)

I'm wanting to use owl slider in some directive, or in some angled view but it's not working properly, since the HTML is rendered but the jQuery is not acting. A Owl slider, I put it in a directive, but it's not loading me. When I put it out...
asked by 12.07.2016 / 06:12
1
answer

how to make an http call when sending form in angular

I have problems making an http call when sending a form using Angular, the problem is that I do not know how to pass a parameter to it and I do not know if I am doing the call correctly, what I want is that the HTTP call is made with the paramet...
asked by 01.07.2016 / 20:04
1
answer

Error using ng-model on a button element

I am trying to place the value in the table in the insert tasks in ng-model , but I get the following error: Error: [$parse:syntax] Syntax Error: Token '{' invalid key at column 2 of the expression [{{tarea.fila}}] starting at [{tarea.fi...
asked by 21.07.2016 / 00:25
1
answer

Stream error when invoking a REST service in Spring MVC with two javascript objects

Greetings estoyr trying to pass as parameter two JSON objects to a REST method that is in a rest API in Spring MVC , I'm using a service type factory in AngularJS to make the call to the method. The server responds with an error...
asked by 31.05.2016 / 21:23
1
answer

Conditional ng-if cycle using http service on angularjs

I have an http service and with the code I have received 5 ids. I would like to call them using a scope using a cycle if , the json format has as property isFile that if it is false it is a folder and if it is true it is a file. My...
asked by 17.06.2016 / 06:19
1
answer

AngularJS with Karma, Node.js and Jasmine

Testing AngularJs with Karma, Node.js and Jasmine I get this error running scripts / test.bat on console. Chrome 48.0.2564 (Windows 7 0.0.0) ERROR Uncaught TypeError: Cannot read property 'module' of undefined What does it mean? I'm usin...
asked by 04.03.2016 / 03:39
2
answers

How can I make several consecutive requests if the previous one did not give me results in angularjs

var appServices = angular.module('miClaroServices',[]); appServices.factory('productoServicio', ['$http', '$q', function($http, $q) { // interface var service = { ListProducto: [], getListProductos: getListProductos }...
asked by 14.06.2016 / 17:43
3
answers

Limit user access in an Ionic app

I am creating an app with ionic and I want that, when the user not is logged in and goes to a page that is not the login or the registration, it takes it to the login. In case the user wants to go to the registry, let the app allow it. My c...
asked by 09.06.2016 / 19:26