ng-repeat with multiple filters on large data set

前端 未结 5 1522
無奈伤痛
無奈伤痛 2020-12-13 12:49

I\'m still new to AngularJS, so I\'m just trying to do a simple CRUD app. Currently I pull the data (in a JSON file) with $http in a div handled by

5条回答
  •  Happy的楠姐
    2020-12-13 13:25

    {{ expression | filter1 | filter2 }}

    Just use

    
      {{value}}
    
    

    Angular 2 uses pipes, but its looks like filters:

    The chained hero's birthday is

    {{ birthday | date:'fullDate' | uppercase}}

提交回复
热议问题