Changed Pagination service method to factory for angular 1.0.8 compatibility.
Changed scope definition of the limit directive for angualr 1.0.8 compatibility.
Removed uneccessary customMatcher definition from test.