angular-ui/bootstrap — pull request #1895 by Foxandxss (2014-03-05 17:45:01+00:00)
Title: test(pagination): clean some injections

I removed some `inject` that were not needed and also fixed a little typo on an element.

Also, to refer to the previous button we are using `0` and for the next one `-1`. There was one with the value of `1` instead of `-1`. Why `-1` and not `1`? I could see that if we expect the next button to be something different to `1` but it is not the case (see next). Anyway I changed that `1` to keep the same convention.

On the other hand, I have a question. Why are we testing the `getPaginationBarSize()`? I don't understand. Is that supposed to change? I mean, there are always two `li` and that doesn't seems to change.