重粒子的运行轨迹

Compiling ...
baryon.cpp
baryon.cpp(1) : warning C0000: all glory is fleeing

导航

2017年8月24日 #

AngularJS实战之filter的使用二

摘要: 博文一中的filter是angular自带的filter,一般不会满足我们的使用。我们可以自定义filter。一、自定义filter实现反转字符串{{ceshi|reverse}}app.filter('reverse', function() { return function(tex... 阅读全文

posted @ 2017-08-24 23:01 重粒子 阅读(139) 评论(0) 推荐(0) 编辑

AngularJS实战之filter的使用一

摘要: 一、格式化数字为货币格式。 {{money|currency:"$"}}{{money|currency:"RMB"}}script:app.controller("crl", function($scope, $filter) { $scope.money="4545"; });显示为二... 阅读全文

posted @ 2017-08-24 22:36 重粒子 阅读(84) 评论(0) 推荐(0) 编辑