We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<!doctype html>
Hello {{name}}!
…]()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
<!doctype
<script src="angular.js"></script>html>
Hello {{name}}!
当你用浏览器去访问index.html的时候,浏览器依次做了如下一些事情:5.使用ng-app中指定的模块配置$injector;
6.使用$injector创建$compile服务和$rootScope;
7.使用$compile服务编译DOM并把它链接到$rootScope上;
8.ng-init指令对scope里面的变量name进行赋值;
9.对表达式{{name}}进行替换,于是乎,显示为“Hello World!”
![Uploading image.png
…]()
The text was updated successfully, but these errors were encountered: