Skip to content
New issue

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

angularjs源码解析系列(1)--- angularjs的初始化过程 #158

Open
JesseZhao1990 opened this issue Oct 27, 2018 · 0 comments
Open

angularjs源码解析系列(1)--- angularjs的初始化过程 #158

JesseZhao1990 opened this issue Oct 27, 2018 · 0 comments

Comments

@JesseZhao1990
Copy link
Owner

JesseZhao1990 commented Oct 27, 2018

angularjs的初始化过程

版本 "angular": "^1.2.32"

image

  1. 用自执行函数让程序加载完成后自动执行
  2. 检查是不是多次引入了angular
  3. 尝试绑定jquery---> bindJQuery()
  4. 初始化angular的各种api
  5. angularinit尝试查找ng-app,尝试启动
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant