8000 GitHub - ktstowell/ng-repeat-while: ngRepeat that runs off of an expression evaluation instead of size/contents of a data structure.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ktstowell/ng-repeat-while

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ng-repeat-while

ngRepeat that runs off of an expression evaluation instead of size/contents of a data structure.

Installation

bower install ng-repeat-while

Usage

It will simply run as long as the provided expression evaluates to truthiness. Exposes and $index scope variable, just like normal ng-repeat.

<p ng-repeat-while="$index < foo.bar.baz">Repeated: {{$index+1}} times!</p>
        

Demo

http://ktstowell.github.io/ng-repeat-while/#/

About

ngRepeat that runs off of an expression evaluation instead of size/contents of a data structure.

Resources

Stars

Watchers

Forks

Packages 33AA

No packages published
0