您好,登錄后才能下訂單哦!
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.
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。