Top "Angularjs-ng-repeat" questions

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

ng-repeat passing index value to a function

I need to pass a $index value of a specific element, added with ng-repeat, to a javascript function. My code …

angularjs angularjs-ng-repeat angularjs-ng-click
Angular JS hide first element of ng-repeat

How would I hide the first element of an ng-repeat? <div ng-repeat="item in items" ng-hide="true"> <…

javascript angularjs angularjs-ng-repeat
How to pass multiple parameter in angular filter function, not custom filter

I tried hard and visit lot of similar question like this but still unable to solve this issue. I want …

angularjs angularjs-ng-repeat ng-repeat angular-filters
AngularJS 1.2 - ngAnimate not working

I am new to using ng-animate with AngularJS 1.2. I am not sure why my ng-animate does not work a certain …

angularjs angularjs-ng-repeat ng-animate
How to obtain previous item in ng-repeat?

I have a template in which I want to generate some HTML only if the current item has some different …

angularjs angularjs-ng-repeat
How to $watch changes on models created by ng-repeat?

Consider this Plnkr for example. I don't know how many members of fooCollection will be created beforehand. So I don't …

angularjs angularjs-scope angularjs-ng-repeat
Protractor - count elements in repeater and print it

I'm trying to count the elements in repeater and to print it to console. This is the markup: <div …

angularjs testing angularjs-ng-repeat protractor end-to-end
AngularJS - using ng-show within ng-repeat

I'm having an issue using the ng-show directive within an ng-repeat block. The boolean value does not seem to be …

javascript angularjs angularjs-ng-repeat angularjs-ng-show
AngularJS First in array after Filter

In my controller I can call: $scope.games[0]; To access the first item in my games array. Is there a …

javascript angularjs angularjs-scope angularjs-ng-repeat angularjs-filter
AngularJS - Using indexOf inside ng-repeat to show/hide values

I have a JSON file that contains a bunch of data: myData.JSON: { "Addresses": { "AddressList": [ { "HouseNumber": 201, "Street": "Victoria Lane", "Postcode": "…

angularjs angularjs-scope angularjs-ng-repeat ng-show ng-hide