update to allow renames when minifying

This updates dirPagination.js to use proper angularjs dependency injection so that minifiers can rename variables without breaking angularjs dependencies.
Merge pull request #13 from jgreene/patch-1

update to allow renames when minifying