会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
spring
博客园
首页
新随笔
联系
订阅
管理
2017年6月19日
angular源码分析4-$rootScope
摘要: $rootScope是注册在angular的内部模块ng的一个provider。 第2487行代码所示,注册$rootScope服务,name为$rootScope,函数为$rootScopeProvider。等价于如下代码: 函数$RootScopeProvider代码如下: 通过以上代码注册$r
阅读全文
posted @ 2017-06-19 23:35 springmin
阅读(309)
评论(0)
推荐(0)
编辑
公告