ng-show > 10 throws syntax error (VS browser link)
问题 I have a table cell that shows if there's more than 10 records. Part of my pagination. <td ng-show="totalRecords>10" colspan="5"> <ul uib-pagination style="margin:0;" total-items="totalRecords" ng-model="currentPage" ng-change="pageChanged()"></ul> </td> Pretty straightforward. But here's the crazy - it throws the following error in Chrome: Uncaught Error: Syntax error, unrecognized expression: td[ng-show='totalRecords @ browserLink:37 bc.error @ browserLink:37 bh @ browserLink:37 bp @