Questions tagged as 'angularjs'

1
answer

I can not use two components in angularjs 1.5

I am learning angularjs 1.5, I can use a component, but when I want to use two, the first one disappears and I do not know why. Does anyone realize why?          < / script > - >      <script src="index.js"></script> <...
asked by 31.01.2017 / 23:44
1
answer

upload data as appropriate

I have a factory with a data arrangement of provinces and cities and what I want is for the province to charge me according to the province. This I did the problem is that when the province changes I load the data but with blank spaces. .facto...
asked by 31.01.2017 / 23:15
1
answer

How to select a default value in Angular JS 1.5 in the combo

I'm doing an Edit from a Modal but I can not get the data to show me from the controller, only the empty field appears, note: if the selects work well. Here is my HTML <div class = "row"> <div class="col-md-6"> <label>CLa...
asked by 30.01.2017 / 20:55
1
answer

I do not work $ scope of angular for a variable

It happens that I am making a query using get of angular, calling data in JSON format. As you can see, in the method get I use the variable $scope.datos , of which, I get the correct result. app.controller('programad...
asked by 20.02.2017 / 04:46
1
answer

It does not return variables -

Good morning. I try to login and capture mysql base data in app with ionic and angular. But I can not get the response records. This the controller code of the app: .controller('loginCtrl', function($scope,$http,$ionicPopup,$state,$ionicHistor...
asked by 20.02.2017 / 05:37
1
answer

search in a for in angularjs

How about, I have this array: which corresponds to the total purchase according to the order, in this case by a for how can I get to that value: for (var i = 0; i < total.length; i++) { var totaldesayuno = total[i].total...
asked by 20.01.2017 / 23:18
0
answers

Open different browser with innapbrowser

know if there is a way to open in another browser that redirects the url I put in the app ?, I use the plugin cordova-plugin-inappbrowser , in android if you open the browser that has default, for example chrome , but in iO...
asked by 11.01.2017 / 22:30
2
answers

Render html with angular attributes from the angle controller

I'm currently trying to render an html from a method in the angle handler like this: me.func1 = function (codDep) { var str = ''; angular.element(document.querySelector('#ligas')).remove(); str += '<div id="ligas">';...
asked by 19.01.2017 / 18:40
1
answer

Problem with autocomplete jQueriUI this.source is not a function

I have a problem applying the autocomplete module of jQueryUI . It sends me an error saying "this.source is not a function". I'm working with jQuery and AngularJS . I'm using JQuery 2.1.4 , JQueryUI 1.11.2 and Angular 1.3 Here I le...
asked by 11.01.2017 / 21:38
1
answer

Why this code does not work in AngularJS

Why is not this working? angular.js var app = angular.module('myApp', []); app.controller('namesCtrl', function($scope) { $scope.names = [ {name:'Jani',country:'Norway'}, {name:'Hege',country:'Sweden'},...
asked by 24.12.2016 / 01:41