加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

Scope in AngularJS

发布时间:2020-12-17 09:26:27 所属栏目:安全 来源:网络整理
导读:From the RUNBOOM.COM,it said: Scope(作用域) 是应用在 HTML (视图) 和 JavaScript (控制器)之间的纽带。 Scope 是一个对象,有可用的方法和属性。 Scope 可应用在视图和控制器上。 While,how many scopes can we have? is there any structure in it? I go

From the RUNBOOM.COM,it said:

Scope(作用域) 是应用在 HTML (视图) 和 JavaScript (控制器)之间的纽带。

Scope 是一个对象,有可用的方法和属性。

Scope 可应用在视图和控制器上。


While,how many scopes can we have? is there any structure in it? I got those question when I come to it.

After a tough time reading,I think I have mixed up it with scope in java or python or whatever.

To be simple,it is a way to pass values from controllers to view(HTML),and nothing with structure.

I have to admit that here is a simple structure from rootscope to scope,while,here,we'd better ignore it as it has no contribution to our understanding of scope in Angularjs.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读