hi again!
hmm, now wondering, might have missed the point of your question...
are you after limiting the results displayed or more after generating
page navigation bar (and in this case more like have ngRepeat working
on a non-existing / virtual collection)?
If this is about 'page navigation' (and not limiting) it is true that
I don't see any easy solution... I mean - we could always generate a
temp array with numbers from 1 to results.totalPages... but this seems
wasteful...
Maybe you could simply iterate over a result and display $index for
each result? In any case it would be easier to help you if you could
send a jsFiddle with a sample of your data.
Cheers,
Pawel