XIANFESchool / FE-problem-collection

前端问题收集和知识经验总结
https://github.com/ShuyunXIANFESchool/FE-problem-collection/issues
63 stars 22 forks source link

深入理解Angular 1.5的生命周期钩子 #8

Open hjzheng opened 8 years ago

hjzheng commented 8 years ago

这是Todd大神写的一篇博客,关于AngularJS1.5 lifecycle hooks.

lifecycle hooks 最早是在 Angular2 alpha 时候引入的, 或多或少的受到 Custom Elements lifecycle callbacks 的启发, 很庆幸,AngularJS 1.5 引入了这个新特性,让大家在学习 Angular2 lifecycle hooks 之前尝尝鲜。

原文地址: https://toddmotto.com/angular-1-5-lifecycle-hooks 中文翻译: https://github.com/Jocs/jocs.github.io/issues/3 (感谢公司罗冉同学)