Questions tagged as 'angularjs'

1
answer

Variables in ng-repeat directive Angularjs

With the ng-repeat directive can I store two different variables? Example: ng-repeat="valor1 in valores1 & valor2 in valores2" I have problems getting the key of my string in Firebase 3 and I want to extract the key...
asked by 23.11.2016 / 17:35
2
answers

How to use $ http.post and $ http.get in the same function?

A few weeks ago I started using AngularJs for an application of the typical administration style. My question is this: I use it with PHP, using the method $http.post sent the parameters to a file 'file.php', who takes the variables...
asked by 22.09.2016 / 22:48
1
answer

Obtain data of a promise in an Angular directive

I am working on a directive that needs information to work. This information must come from a promise. The problem is that the directive loads without the information because the promise takes more time to execute than the directive itself. Then...
asked by 22.09.2016 / 21:25
5
answers

Print a label i for each ng-repeat of a Json

Having the following structure, HOW DO I do it to print the amount of stars that each car has? that is. IF in the json it says "stars": "3" would have to print 3 labels The expected result is to print 3; The first with 3 inside. The second wi...
asked by 30.01.2017 / 14:32
1
answer

How to clear the navigation history in ionic framework

Hello community, have a question about the use of $ ionicHistory , which is part of Navigation the javascript / angular extensions. I would like to know how to avoid going back when it is in one of the two menus, depending on the role...
asked by 11.03.2016 / 17:11
1
answer

Error "no such table: tablename (code 1):, while compiling: Query", code: 0

I am trying to consult information that I insert in a table, which I created previously. The error is as follows: Object {message: "no such table: HorarioP (code 1): , while compiling: SELECT * FROM HorarioP", code: 0} The code where I cons...
asked by 16.05.2016 / 03:33
1
answer

TypeError: function (...) .then is not a function

When trying to obtain the information stored in the localstorage by means of a factory injecting it into the controller, the following error occurs.    TypeError: get GroupsProf.DataGroups (...). then is not a function The code is as...
asked by 24.05.2016 / 22:28
1
answer

ngCordova SQLite does not work on Android 6.0 or higher

Good community, testing my application, the SQLite plugin does not work and the plugin to detect the type of Network to which the ngCordova device for Android is connected, when I try to enter these messages appear. deviceready has not fired...
asked by 30.05.2017 / 15:56
1
answer

Format md-datepicker in angular inconsistent

I have a md-datepicker defined with Angular 1.X: <md-datepicker ng-model="query.filter.mindate"></md-datepicker> How can I define the format of the date of this component? I have already read some answers about it (lik...
asked by 09.02.2017 / 14:42
1
answer

The browser does not show the changes of the variables in the ".ts" files - Angular

I'm doing a small project in Angular , and nothing else to start I've run into an unexpected problem. First of all, I make it clear that both the project and the component I am using are newly created, I have only changed what is essential....
asked by 02.02.2017 / 17:40