Top "Angularjs-ng-repeat" questions

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

$first in ngRepeat

I have an array $scope.items. I want if the item is the $first one of the ngRepeat to add …

angularjs angularjs-ng-repeat
Pass parameter to Angular ng-include

I am trying to display a binary tree of elements, which I go through recursively with ng-include. What is the …

javascript angularjs angularjs-ng-repeat angularjs-ng-include angularjs-ng-init
Using ng-repeat and ng-class on rows inside a table

I am using AngularJS and the effect I want to get would be something similar to what this would produce, …

angularjs angularjs-ng-repeat
Angular ng-repeat conditional wrap items in element (group items in ng-repeat)

I'm trying to group the items in a ng-repeat using a condition. An example condition is to group all elements …

angularjs angularjs-ng-repeat ng-repeat
AngularJS - how to get an ngRepeat filtered result reference

I am using an ng-repeat directive with filter like so: ng-repeat="item in items | orderBy:'order_prop' | filter:query | limitTo:4" …

javascript angularjs filter angularjs-ng-repeat
Angular passing scope to ng-include

I have a controller that I wrote that I use in multiple places in my app with ng-include and ng-repeat, …

javascript angularjs angularjs-ng-repeat angularjs-ng-include angularjs-ng-init
Angular filter exactly on object key

I have a small angular app like so: html <body ng-app> <div ng-controller="Ctrl"> <div …

angularjs angularjs-ng-repeat
Angular ng-change delay

I have an input which filters a ng-repeat list on change. The repeat contains a lot of data and takes …

angularjs angularjs-directive angularjs-ng-repeat
Angular orderBy number sorting as text in ng-repeat

I have this data: [{"id":"42","firstname":"Sarah","lastname":"Dilby","age":"40","cars":"Yaris"}, {"firstname":"Jason","lastname":"Diry","age":"5","id":"5"}, {"id":"6","firstname":"…

angularjs angularjs-ng-repeat
AngularJS - How can I reference the property name within an ng-Repeat

In addition to rendering the value of the properties in an object, I'd also like to render the property name …

angularjs angularjs-ng-repeat