Skip to content

Commit a4614f4

Browse files
Update README.md
adding example of ng-repeat into docs
1 parent b25113b commit a4614f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ angular.module('myApp', ['dataGrid', 'pagination'])
8787
};
8888
```
8989

90-
NOTE: `grid-item` wrapper directive used in the example above, to make code more concise - you can use regular `ng-repeat` instead if needed.
90+
NOTE: `grid-item` wrapper directive used in the example above, to make code more concise - you can use regular `ng-repeat` instead if needed, like: `ng-repeat="item in filtered | startFrom:(paginationOptions.currentPage-1)*paginationOptions.itemsPerPage | limitTo:paginationOptions.itemsPerPage track by $index")"`
9191

9292
### Basic API
9393

0 commit comments

Comments
 (0)