Top "Angularjs-ng-repeat" questions

The `ngRepeat` directive instantiates a template once per item from a collection.

Angularjs if-then-else construction in expression

Can I somehow use if-then-else construction (ternary-operator) in angularjs expression, for example I have function $scope.isExists(item) that has …

javascript angularjs if-statement angularjs-ng-repeat ternary-operator
orderBy multiple fields in Angular

How to sort by using multiple fields at same time in angular? fist by group and then by sub-group for …

javascript angularjs sorting angularjs-ng-repeat angularjs-orderby
passing 2 $index values within nested ng-repeat

So I have an ng-repeat nested within another ng-repeat in order to build a nav menu. On each <li&…

angularjs angularjs-ng-repeat
angular ng-repeat in reverse

How can i get a reversed array in angular? i'm trying to use orderBy filter, but it needs a predicate(…

javascript arrays angularjs reverse angularjs-ng-repeat
How to use ng-repeat for dictionaries in AngularJs?

I know that we can easily use ng-repeat for json objects or arrays like: <div ng-repeat="user in users"&…

angularjs json dictionary angularjs-ng-repeat
Using ng-if as a switch inside ng-repeat?

I am working on Angular app. I tried to use ng-if and switch inside ng-repeat but didn't succeed. I have …

angularjs dom laravel-4 angularjs-ng-repeat angularjs-ng-if
Show hidden div on ng-click within ng-repeat

I'm working on an Angular.js app that filters through a json file of medical procedures. I'd like to show …

angularjs angularjs-ng-repeat
Difficulty with ng-model, ng-repeat, and inputs

I am trying to allow the user to edit a list of items by using ngRepeat and ngModel. (See this …

angularjs angularjs-ng-repeat angularjs-ng-model
AngularJS: ng-repeat list is not updated when a model element is spliced from the model array

I have two controllers and share data between them with an app.factory function. The first controller adds a widget …

angularjs angularjs-directive angularjs-scope angularjs-ng-repeat
how to split the ng-repeat data with three columns using bootstrap

I am using ng-repeat with my code I have 'n' number of text box based on ng-repeat. I want to …

javascript angularjs angularjs-ng-repeat