angularjs 过滤器详解

https://segmentfault.com/a/1190000002758481
 
 
app.controller('testC',function($scope,$filter){
    $scope.num = $filter('currency')(123534);
  $scope.date = $filter('date')(new Date());  
}
posted @ 2016-07-04 20:35  李华丽  阅读(118)  评论(0编辑  收藏  举报
AmazingCounters.com