Questions tagged as 'angularjs'

1
answer

ng-View does not render content - AngularJS

When I access my index.php, I ask in the configuration of routes of my Angular that it calls the view "index.php" inside the graze "view", but it thinks but it does not render anything in my screen var app = angular.module('app',['ngRout...
asked by 20.12.2014 / 16:00
2
answers

Grid with auto refresh html + angularJS

Well I have a grid and it needs to be ALWAYS updated because it contains information that needs to be updated dynamically. This grid is populated with a rest flame that returns me a json. I need the grid to be updated as soon as the json of t...
asked by 14.02.2014 / 17:37
0
answers

Run AngularJS in SILEX project

Personally I have an entire backend made in SIlex running perfectly, there my client sent me the frontend made in Angular, as I have never used the Angular would like to know where I put the htmls, JS, CSS of this frontend. And as I create the d...
asked by 17.04.2015 / 17:31
3
answers

How to dynamically create an object property?

I'm currently doing this, but error occurs when giving build to the project: function AddSelectOption(name, item) { vm.item = { name: item["name"], [name]: item[name] //Erro nessa linha }; vm.filters[nam...
asked by 24.02.2017 / 17:14
2
answers

Non-angular error when saved, why?

I have the following HTML code: <form name="formProfissional"> <label>Data</label> <input class="form-control" type="date" name="dia" ng-model="agenda.dia" required> <label>Hora</label> <i...
asked by 31.07.2017 / 21:26
2
answers

How to make a ngRepeat without a parent element?

I'm using Angle with Admin LTE. I need to make a ng-repeat where li within ul will repeat. I can not repeat ul , but only li within that ul . Also I can not enclose these li with a parent element to...
asked by 31.08.2016 / 20:06
3
answers

Insert months not in the array

I am putting a% of the total sales value per month. The code is working perfectly, but I need to array check which months are not in this array and fill it in order 1 to 12. For example: The code generated an array like this:    [{4...
asked by 31.10.2016 / 19:14
2
answers

Doubt with ng-if or ng-hide AngularJS

I'm trying to use the ng-if directive to hide a button as soon as I click another but I could not find any examples and found the documentation unclear, could anyone give me an example ?? using this button case, when I click on a button I...
asked by 13.01.2015 / 13:56
2
answers

How to get data typed with angular and save in an array of objects? [closed]

Using Angular, how could I do to get the data typed in a input and then save the data into an array of objects?     
asked by 13.07.2017 / 22:28
1
answer

AngularJS - When should I use ng-show and when should I use ng-hide?

I'm seeing a tutorial, and at a certain point it shows the code saying that the most correct is to use ng-hide in the DIV tag and below in the BUTTON tag the same used ng-show. When should I use each of them? <body ng-controller="StoreContr...
asked by 02.02.2016 / 15:38