Questions tagged as 'angularjs'

1
answer

Ionic client to the API with NodeJS

I have a problem, it's an API with NodeJS and the client with Ionic (code available here as well). // SERVICES.JS angular.module('app.services', []) .factory('loginService', function($http){ return{ print: function() {...
asked by 15.01.2017 / 16:04
1
answer

Validate that the user is logged in when changing view - AngularJS

I am developing a web application with AngularJS , and I need to perform a validation in each of the views in which the user has previously logged in. I have already created a service for authentication and in this there is a method that valida...
asked by 17.01.2017 / 18:22
1
answer

Activate ionic cache

I have a problem with the cache in an app made with Ionic. Supposedly active the cache in the "config" of the module in the following way app.config(function($ionicConfigProvider) { $ionicConfigProvider.tabs.position('bottom'); $ion...
asked by 15.01.2017 / 01:25
1
answer

Input datetime-local does not take min attribute

I'm taking an input type datetime-local with angularjs and from the controller I get today's date and add one more day and I would like that date to be the minimum date of my input so the user can not choose a lower date to this. <in...
asked by 21.11.2016 / 16:18
1
answer

Link several checkboxes with ng-model

I request your help because I have not managed to bind between several checkboxes and the data. I have tried it in several ways and this has been my result: HTML <label ng-repeat="teams in teams" class="checkbox-inline"> <input...
asked by 29.09.2016 / 19:59
1
answer

How to add 2 variables within a JSON obtained from a Web services in angularjs?

I have a big question, today I am consuming data from a web services as always, using angularJS and I have a new problem: I consume a web services that in response gives me the following: {success: "true", n_sucursales: 2, id_sucursal: "19"...
asked by 01.10.2016 / 03:43
2
answers

Error starting the NodeJS server

I am starting to develop in the framework of AngularJS in a self-taught way and following a tutorial says to download or clone the repository of git which I already downloaded, following the tutorial comes a part where I have to install NPM...
asked by 06.10.2016 / 00:30
1
answer

Problem with Angular-material switch, when reloading it returns to its state

Hello, I have the following switch html: <div class="inset switchdemoBasicUsage" ng-controller="Movilapp" style="float:left;" ng-cloak> <div> <b>Movil:</b> <md-switch ng-model="data.c...
asked by 06.10.2016 / 20:01
1
answer

How to change the search criteria in a call $ angular JS $

I have a JSON link where I have to do searches: http://www.liverpool.com.mx/tienda?s=xbox&d3106047a194921c01969dfdec083925=json but I need to change the search criteria, for example to search xbox or something else would change t...
asked by 18.09.2016 / 22:09
2
answers

How can I execute controllers within a function in angularjs?

any possibility of executing controllers in or a function? example: $scope.send = function(){ controller1 controller2 }; My ideas is to incorporate a 'ng-click="send";' Even button on which to execute the task, greetings.     
asked by 23.09.2016 / 17:37