allowing "track by" in ng-repeat

I combined the regex's used to test for itemsPerPage, and fixed an issue I found when trying to use the following functionality:
https://docs.angularjs.org/error/ngRepeat/dupes