摘要: app.controller('myCtrl',function($scope,$filter){ ... $filter('过滤器名称')(需要过滤的对象,参数1,参数2,...); ... });$filter('currency')($scope.amount,'$USD'); 阅读全文
posted @ 2015-01-09 14:07 流失的痕迹 阅读(407) 评论(0) 推荐(0)