daniel-nagy / md-data-table

Material Design Data Table for Angular Material
MIT License
1.9k stars 520 forks source link

Problem with lib using $interpolateProvider #470

Open marciogurka opened 8 years ago

marciogurka commented 8 years ago

I'm using the $interpolateProvider to set the Angular expressions with << >> instead of {{ }} but when I tried to use the pagination, the page select isn't working correctly. but when I changed this line '<md-option ng-repeat="page in $pageSelect.pages" ng-value="page">{{page}}</md-option>\n' in the md-data-table.js file, to '<md-option ng-repeat="page in $pageSelect.pages" ng-value="page"><< page >></md-option>\n' the select starts working and showing the pages correctly. It's not a functional issue, cause the select works in both ways, but the text of the select isn't showing correctly.