- 博客(15)
- 收藏
- 关注
原创 过滤器current number date
$filter- $filterProvider- service in module ngFilters are used for formatting data displayed to the user.The general syntax in templates is as follows:{{ expression [| filter_name[:paramet
2014-11-24 06:23:04
450
原创 多个控制器内数据共享
通过$$prevSibling方法实现共享:JS页面:angular.module('myApp',[]).controller('firstController', function($scope){ $scope.date = { name: "Tom"
2014-11-24 06:15:50
608
原创 $provider里factory、service方法
总觉得英文文档写的比较直观:$provide- service in module autoThe $provide service has a number of methods for registering components with the $injector. Many of these functions are also exposed on an
2014-11-22 06:10:59
613
原创 $scope里的$apply、$digest方法
什么是scope官方文档的解释:scope is an object that refers to the application model. It is an execution context for expressions. Scopes are arranged in hierarchical structure which mimic the DOM structure of
2014-11-18 11:25:31
1316
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人