AngularJs之$scope对象(作用域)
一、作用域
AngularJs中的$scope对象是模板的域模型,也称为作用域实例.通过为其属性赋值,可以传递数据给模板渲染.
每个$scope都是Scope类的实例,Scope类有很多方法,用于控制作用域的生命周期、提供事件传播功能,以及支持模板的渲染等.
AngularJs的每个应用程序都有一个$rootScope,它是其他所有作用域的父作用域,它的作用范围从包含ng-app指令的HTML元素开始.它是在新应用启动时自动创建.
二、指令创建作用域
ng-controller指令是作用域创建指令,当在DOM树中遇到作用域创建指令时,AngularJs都会创建Scope类的新实例$scope.新创建的作用域实例$scope会拥有$parent属性,并指向它的父作用域.在DOM树中,会有很多这样的指令创建出很多作用域.
(众多作用域形成了以$rootScope为根的树结构,鉴于DOM树驱动了作用域的创建,作用域树模仿了DOM树的结构)
ng-repeat指令的运用:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body >
<ul ng-app="myApp" ng-controller="WorldCtrl">
<li ng-repeat="country in countries">
{{country.name}} 有 {{country.population}} 人口
</li>
<hr>
世界人口数:{{population}}
</ul> </body>
<script type="text/javascript" src="js/angular.js" ></script>
<script src="js/myapp.js"></script>
<!--<script type="text/javascript" src="js/angularjs.js" ></script>-->
</html>
myapp.js
var app = angular.module("myApp",[]);
app.controller('WorldCtrl',function($scope){
$scope.population = 7000;
$scope.countries = [
{name: 'France',population:63.1},
{name: 'UK',population: 61.8},
];
});
测试结果:
ng-repeat指令用来遍历属性值,上面对应每个country,都有个新变量要暴露给$scope,而又没有覆盖之前变量的值;AngularJs中给集合中的每个元素都创建了新的作用域,所以在不同作用域中,定义同名变量,不会造成命名的冲突(不同的DOM元素指向不同的作用域,并使用各自作用域中的变量渲染模板).这相当于集合中每个项目都有自己的命名空间.
三、作用域层级和继承
作用域中定义的属性对于所有子作用域是可见的,只要子作用域中没有定义同名的属性.
实例:
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body ng-init="name='world'">
<h1>Hello,{{name}}</h1>
<div ng-controller="HelloCtrl">
Say hello to:<input type="text" ng-model="name">
<h1>Hello,{{name}}!!</h1>
</div>
</body>
<script type="text/javascript" src="js/angular.js" ></script>
<script type="text/javascript" src="js/controller.js" ></script>
</html>
controller.js
var app = angular.module("myApp",[])
app.controller("HelloCtrl", function($scope) {
// $scope.name = "youyi";
});
结果:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAU8AAAClCAIAAABTB+j1AAASyUlEQVR4nO2dy5sb1ZmHv/+illr2IkM0k/BQwReUmZAIx8ZFSBzBQFqOL1FsHAvwRTA4uH1LYWNcBmPLGGaUMEnKbRvLdGMKGxsBTyaaJM+kPM9MRuxqqWUta3lmURe1pFLdpGrX5feubLXOqa/rnPfcq5rqb9z68R5J0zQGAMg09Nypj3/43BuwHYDMQ7tfu/nkrtOwHYDMQ7UTy0/UXoftAGQe2nHsw8d3noTtAGQe+unRGxt3vAbbAcg8tPXIjQ3bYTsA2Qe2A5AXaP7wjce2wXYAsg/NLyw9tg2rdABkH5o//CFsByAPUPUw+nYAcoE5kj8F2wHIPPSTw0tl9O0A5ACaX1gqo28HIAfQ/JGlx7bDdgCyD80fWd4A2wHIAVRdQN8OQC6g6sIS+nYA8gBtxUgegHxAW48ub9gB2wHIPrT16PL3YTsAOSCpthv9XkcWK3McCXI/phS5xdA1td2slQtEYjdiDj2lVa/yUrTk4P5AW48ub/S0vS8LNIpdR7x+FgW3/LzdDZ8iv3TFsVsVurRG8pimsMGqQz89trxxp2/f3muWrPKtKcbIzzRHuJqizy4yVSyGdDd8itzSb1en0NXo1DnYnkJoWyDbB12oS/k67f1My96+ZHB3w6fIL3aZRSsypzrA9lRB248tbYLtuQO25xHacWJ5889ge96A7XnE/OsRsD1vwPY8QrvE5R/s8v1bMbA9cRi6s+UY4cbD9jxCe07e/OFu378DN5Xt/U6zJvAF8zsFvlStt5Se7+p9rLbrmrIiJm6uJNQkuTttI+G2xbUSQZZHvjF8x4JF5XIVMxtDU6Tq4D4Ldbk3un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wHYDMA9sByAu0Zsflrz0O2wHIPrTuZ4sPbMYqHQDZhx4J9FcfAQCph/7puQ+w3w5AHqDv7r3+4BacpQMg+1D5xRv8U77vnAUApB76/v6lh/3fOQsASD206eDyWv93zgIAUs//A+Nkpbi6MuAVAAAAAElFTkSuQmCC" alt="" />
在父作用域中定义了变量,子作用域中暂时未定义同名变量,可以看到在父作用域中定义的变量在整个应用程序中到处可见.
如果子作用域中有同名属性:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAm8AAAB0CAIAAABc2kKuAAAX00lEQVR4nO2dP2gcWZ7HO91Njos23UDxwcEw7LKg4IIJphODgr1EhlvveRKNQtOLHYhBAiMayxMZIQ7JPtTUBnPYWrGDTthnQ/ksbsAjnW0xMDCiE9E4m2ATcdAXvFdV78/v1XtV71XV69ZXfIKZ9ut6r6q76tO/3/vXm/7f30BV9vb22qnor//a6/V6t/9iLfm/D39LFjO9/rfpX/7Q6/V6vT/8tbUrdjW5XvzXHz/7zd9/9ps//nfzdQX8Qrb2lWjkO9Z1G8B1ptd5C2YR3Ld1rljneptf8IWc4q4EXQOb1gH3bZ0r1rVy5hh8Iae4K0HXwKZ1wH1b54p1rZw5Bl/IKe5K0DW9Pfzhr5W/zpUzx3T92eIPf/jb63X+IAAAAABmHdgUAAAA8AU2BQAAAHyBTQEAAABfYFMAAADAF9gUAAAA8AU2BeA6Mk5WbyVnnTdj9rh4fKu/tJiz8nislUk3hQL9pfUU1/9aAJuCbjnbX7E8m+aGdHNpsb+6f9H99Rknq4v9pcX+/VT5p/NkYbixMHy0M5lMr07uDDcWhhs3Xv/Q+aXzJeB5hbEp/1gh1HkiqE0vDx4OBoPB4OHxeecnBmYE2LT168N8sHlE/NPk6MZwY2GYPL+aTK9+2NndWBhu3Dlv8Jo8P9gQPNcYAc/r4vEtdwum902x6TSTrulfwcwRyKanuwPhDzYF1TnbX4FNW7g+R+tkVMpo26Ynd4YbNw6SG01HwFHa1PJZgFkjhE1zlY7Sj8dD2B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jooyyEpNnSE5AtAE9u2WLOrHlWVr/lRDFd7slhrxUJVtdcofAuyaGnl97wyvVBoN1tc3CxHNxqbSuBMqEqKLIs8g4iIDDds9Od8R9Ft7LwqdyoabqP/xiuLqGWPUxp6ZtHl7ZX0Ds6D2zSwhqR0VeVxNad2ypIEi/LGUaxXQbCqQ5Jvx8EtrwSf4+CWV8JfVIeflUhS7O95dZwUu2LjRNvfkuIGKGTYfpSnRblLWZ+zPznKO1iJX+cQbJFGnqkRkWa6m12WZVmabAPX1Kh133R1vSXPvKXYPSFb2g9aVZalkVvEsBPkj483nqWTYRgH9XaNa/mrSJJvB5JihDhJcfJ9NOvfeyq/Iha3nXbwllaPO758i5aadIPxDbFyQzV76HUrBqXIaJGoKsuyLAmXtnmjHTx6GcRJ6JJu2kvOd/DEqmr5hhjzrT58Apx9jI7InOLKJcGiuHObI718ms/0z+02TudZFZw1JAVfOXWRX8fJP7wHvEg6iPOsCs4bkoKr2PJgyK+ephtHG+Y7Z0M6z6rgzCEp2JKNYxD/Cmzz8drNItjFvjXM99hPdp5VwSUR2c19vaKleWPay434hcw0ypdViXTDkmqp0nlWBZfkLP9vgwBwZpAUAMCHpAAAPiQFAPAhKQCAD0kBAHxICgDgQ1IAAB+SAgD4kBQAwIekAAA+JAUA8CEpAICP7txFUgAAB+YUAMCHpAAAPiQFAPDhOgUA8CEpAIAPSQEAfP8H6nwyJ2okhfgAAAAASUVORK5CYII=" alt="" />
AngularJs中的作用域继承和JavaScript中的原型继承遵循同样的规则(沿着继承树向上查找属性,直至找到为止)。
改变子作用域中的变量值,不会对负作用域中的同名变量产生影响。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACrCAIAAACYBtIIAAAPyUlEQVR4nO2dL9OrOgKH8y2QyMpKJBKJrMTsDLKys3c/ABJ3K/buYHYXiUTilnXM7NkZJOIKrkOi9rCChLY0pAFCS97390zFOS0JIeTJf3hJBwDQFvLpBAAAlgOBAdAYCAyAxkBgADQGAgOgM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04p7/8au8H2AI168BDmOEFDg8UoWVagn3umywjsUO4ijJ/HWWT0ALeP4lVhHSzyjKLh+4JTXBTleOdzo8Ct1USBHLvw6rSfuXMtEar81O09I0lxsEJhevL3xNVGzlokSHW03pmv23iExs5qrjfyGGNNxZU/aTP00aONg8dWlb8SN0+rU/MQrNrJ4Yt9QD/A49TWFzGLXCbB9aw7CSK+vZCDrnHA+9eyKFy0e/LIHojx3N5q4e3pz3/1uQB2zgZ04fM2MZF0xNXtuz9GvL3RzJEW4SOQe4ehW2bMu1nZjlbKYexfF8VXVW9gekzy0i3t6fMfQyPOSMaXvC60P3Ku/hmQ2DFqH0n1uODA+xphopXKb9ae3qu/eeH4KTJtAQPM7A9lsL45iMrcJOny5r9if7IwnHCUI+J/OKuGRXBgRBCiCGYx0IXWi07eCvlvmjSM93DcFHVXsoIzJ77ex6CSDA1oGjzwD6wBrHJA8eceO1dEQdhlBRV0962sI1nJPtV6LrMH3aXOf7ZY89DmdbtuSil70wD00DgMcwGiSJYZ6Hn2LZt2+7Jm+bk0u3+00e5zu2xv9O9w5ObN2Q2cnB2dEyNiZt8OII2onHVdVXsO7fX4d1jWrbtncNrnPZvpGXVAmv18faMNwGBR9ChoyW7vNTKvoliaXqSs8vZu7GKK/flHsO7twz7HLOGehhVmJZ3DqMkKyrB+6k7tslcOGcJFAKB72myi0VeT7p9VcrkEiXF+E+ltUWazfjzaU1V4O+rvA8IfKO4OgfHv376r4QBIA8EBkBjIDAAGgOBAdAYCAyAxkBgADQGAgOgMRAYAI2BwABoDAQGQGMgMAAaA4EB0BgIDIDGQGAANAYCA6AxEBgAjYHAAGgMBAZAYyAwABoDgQHQGAgMgMb8H0Jbv0TVJX+vAAAAAElFTkSuQmCC" alt="" />
通过下面的方式可以让子作用域中影响定义在父作用域中的属性:
但是这种方式是不可靠的,问题在于ng-model指令所用的表达式对DOM结构做了武断的假设,尽量避免使用$parent。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAwIAAACtCAIA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POhucnmDM+DCFyMsJLEQ2u8tUyWpSm1EBMBVk+c7AegEAAPC4At8BAOoF+A4AUC/AdwCAegG+AwDUC/AdAKBegO8AAPUCNfmHmvzwHQDA+lBTJ3wHAKgL0J4FANQL5PYPNXUOuf1Drjb4DgBgZRTfoX4HALA85PYPudF/BwCoA8jtj7v9cbd/yLXy/LQF8B0AwLLQnA6N71C/AwBYl7Tv4jMxXgEAsDQ0pyM+pyPu7oDvAAAWh+Z0cLLyZradQ/8dAMDC0KsbVd/54DsAgJWRfcfN6eDgOwCAtaFXNw7KyoPvAADWhmZvGJSVN7O199n58B0AwLKkfTc4o7X32flb4TsAgFWh2RsGZOXNaO19dh58BwCwLFm++9W8LfAdAMCq0Kz1A7PWD8zeMPDSCvgOAGBl4DsAQL2g9d0n8B0AwML8P1R4fKqv8ncyAAAAAElFTkSuQmCC" alt="" />
更好的解决方案:
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body ng-init="thing={name:'world'}">
<h1>Hello,{{thing.name}}</h1>
<div ng-controller="HelloCtrl">
Say hello to:<input type="text" ng-model="thing.name">
<h1>Hello,{{thing.name}}!!</h1>
</div>
</body>
<script type="text/javascript" src="js/angular.js" ></script>
<script type="text/javascript" src="js/controller.js" ></script>
</html>
var app = angular.module("myApp",[])
app.controller("HelloCtrl", function($scope) {
$scope.name = "youyi";
});
结果:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW4AAACmCAIAAAB1DPK1AAAYcklEQVR4nO3d6X8TR54G8N9/0S/1khczWe3OzkSbQEbBHCIQ3EAAkTmiSUiihEvGxggbG0gwiAChMUfELcjM0IGECLCNAjaW8SUbAjKnYsNEs5+dXe0AiV7qZe+LPmzJrVarJC229Xw/ehFsd3elVfWouqq6RWub+1fv718t9Lu2XX5j5e54PC4BAOSJ1jb3rdnft0rodW279MZ7nyFKAIABrWvuW7O/d7XQ+6dtF994bxeiBAAY0Lrm3rVC7xqh90+fXJy/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ZFQf0SAGSSfnqMseK4vLuqsS5UlRrxlCvObQ3WlCIzLML3K+HrP9Q7H3pLaGqanKX01C8BQD5x7/icMs+cMs+cMuaJ5c0P3oHPq7qzBAfyaEfcax5p2Yg+hpfOiW2qZh16Udu1l9YSSifjtkr9EgDSIB5z/GRJj7DNKDz8wK9SjscZy4KVh1Qt3SkE/F63282Imq84PxdI/gIfEL8weiUAyCaeV5W75lju2mO5a4/pl76tnbcRiZOI164XVpsZ7RMBuJuInx4zY2WnsE1e9Oak1POqAADSQIimgPwgj4zPHUdlnbswqF/u1he79cXuX+Yf+u/Uc8cBANJAXtgTrOMEnx5T1Da5sG1yYdtDv5OzPg4AQBqiEmf8xHMDg48ta3106dFHlh6Vt84xAEAaYhLnk4EvH1169JElR39pOXL/C86fzCxF4gCAguIT58gjS5E4AKAKcTvOY8taH1t29JElRx948cBPnkDiAICS4luOWycXtj62rPWh3zb8NBctxwCgpEji3BvsHW9/vLh9SlHbLxY05jxZgcQBAAVFJc6ErE8vDE5f2TF9Rce0Fe5HF76B8TgAoKxI4gizHGau7npiddfM1Z1TFr85aS7GHAOAksQzOQ1ru2et65617ph+2VvaeSmf5QAAkAbx02Nml/TMLumZXdozvejw/amf5QAAkAbxilzh9XFmLm9+MPWzHAAA0hCfOMzccmZuucxnOQAApCF2neOLQ3PLmacrmKcrmFxrM1YdBQBliRMnZp1jrKwOAIqKTxwm+IS8FS2o4wCAsiTvqoLP5ETiAICykrTjIHEAQGHxieMRQgeJAwCKEyfOnDKPEDq5y5vROw4AyhIlzo05pZ65ZZ45ZZ6ZxRgBCAAKEyfOU6XdT5X2zCnrmVnc/OCzmOUAAEr6f6bBMgOOyD4UAAAAAElFTkSuQmCC" alt="" />
避免直接绑定变量给作用域属性,对象属性的双向数据绑定是最好的解决方案。
AngularJs之$scope对象(作用域)的更多相关文章
- AngularJS:Scope(作用域)
ylbtech-AngularJS:Scope(作用域) 1.返回顶部 1. AngularJS Scope(作用域) Scope(作用域) 是应用在 HTML (视图) 和 JavaScript ( ...
- angularjs 获取$scope对象
参考 https://blog.csdn.net/u011974399/article/details/77865293 angular.element("[ng-controller=xx ...
- AngularJs之Scope作用域
前言: 上篇博文AngularJs之directive中说了Scope作用域是个大坑,所以拿出来作为重点总结! 什么是scope AngularJS 中,作用域是一个指向应用模型的对象,它是表达式的执 ...
- AngularJS(2)-Scope作用域和控制器
$scope: 根作用域 所有的应用都有一个 $rootScope,它可以作用在 ng-app 指令包含的所有 HTML 元素中. $rootScope 可作用于整个应用中.是各个 controlle ...
- 转深入理解 AngularJS 的 Scope作用域
文章转载英文:what-are-the-nuances-of-scope-prototypal-prototypical-inheritance-in-angularjs 中文:http://www. ...
- AngularJS系统学习之Scope(作用域)
本文出自:https://www.w3ctech.com/topic/1611 看完了没怎么懂, 也许是和别人 原文作者: Nicolas Bhttps://www.w3ctech.com/topi ...
- AngularJS 第三天----作用域
作用域的概念及其功能 AngularJS使用作用域的概念来充当数据模型的作用,在视图和控制器之间起着桥梁的作用.由于双向绑定的数据特性,视图的修改会更新 $scope,同样对 $scope的修改也会重 ...
- 深入理解 AngularJS 的 Scope
JavaScript 的原型继承就是奇葩. 之前在 V2EX 上看到讨论说,不会 OOP 的 JavaScript 的程序员就是野生程序员.看来我是属于野生的. 一.遇到的问题 问题发生在使用 A ...
- AngularJS 全局scope与Isolate scope通信
在项目开发时,全局scope 和 directive本地scope使用范围不够清晰,全局scope与directive本地scope通信掌握的不够透彻,这里对全局scope 和 directive本地 ...
随机推荐
- http://zh.lucida.me/
一个很厉害的在美国Google的学长的博客
- pip 下载慢
经常在使用Python的时候需要安装各种模块,而pip是很强大的模块安装工具,但是由于国外官方pypi经常被墙,导致不可用,所以我们最好是将自己使用的pip源更换一下,这样就能解决被墙导致的装不上库的 ...
- ubuntu 下更新PHP版本 ZT
sudo add-apt-repository ppa:ondrej/php5 如果报错 add-apt-repository: command not found add-apt-repositor ...
- 阿里云弹性Web托管的URL重写问题
今天将ThinkPHP写的网站搭到阿里云的弹性Web托管服务器上,出现路由问题 诸如访问 www.xxx.com/home/index.html会发生错误如下 页面报错: No input file ...
- 后缀名“.dll .obj .lib”和“ .so .o .a”文件的区别含义
(1) .dll .obj .lib使用在windows平台下. .dll:动态链接库,作为共享函数库的可执行文件. .obj:目标文件,相当于源代码对应的二进制文件,未经 ...
- 对一个目录的文件从cp936转换成utf-8
打开一个文件,确认能够无乱码打开 [xw@localhost work]$ vi NPOSP/src/sjl05.cpp 但是,这里打开的方式是以cp936的编码方式打开的. 编码的选择,记录在~/. ...
- span标签跳转新页面
<span onclick="javascript:window.open('http://eccu.fr/guanli/login.aspx')" style=&quo ...
- 第三个Sprint团队贡献分
201306114322 邵家文 50分 201306114319 陈俊金 10分 201306114320 李新 10分 201306114324 朱浩龙 10分
- (转)C#实现MD5加密
首先,先简单介绍一下MD5 MD5的全称是message-digest algorithm 5(信息-摘要算法,在90年代初由mit laboratory for computer science和r ...
- maven打包不执行测试用例
在执行maven打包时不需要执行测试用例,使用如下2种方式实现:-DskipTests=true : 不执行测试用例,但编译测试用例类生成相应的class文件至target/test-classes下 ...