Firstly, this is a really great component!
Whilst using it I have noticed that on devices with smaller screens it would be nice to avoid the wrapping by having an option to set the maximum number of pages in the page list.
See example screenshot of wrapping, using Chrome with size set to 320x640 below.
In this scenario if you could set a parameter in the directive, max-pages-to-show="3" to only show < 1, 2, 3, ... > for mobile, it would avoid the wrapping.
I will try and experiment to see what's possible myself, but I thought I'd put in a feature issue as you know the code better!

Firstly, this is a really great component!
Whilst using it I have noticed that on devices with smaller screens it would be nice to avoid the wrapping by having an option to set the maximum number of pages in the page list.
See example screenshot of wrapping, using Chrome with size set to 320x640 below.
In this scenario if you could set a parameter in the directive, max-pages-to-show="3" to only show < 1, 2, 3, ... > for mobile, it would avoid the wrapping.
I will try and experiment to see what's possible myself, but I thought I'd put in a feature issue as you know the code better!