I want to generate a pager html fragment through an integer.
for example:
the totalPage property of my server-side object is 20, which means there 
are 20 pages, and I want to show a page navigation like following:

<a href="#/page/1">1</a>
<a href="#/page/2">2</a>
<a href="#/page/3">3</a>
<a href="#/page/4">4</a>
...
<a href="#/page/19">19</a>
<a href="#/page/20">20</a>

I want to use ng-repeat directive, but it can only apply to array, I don't 
want to generate an array for that operation. is there any other way I can 
get that.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to