如何掌握 AngularJS? [英] How to master AngularJS?
问题描述
我对 AngularJS 很陌生,我觉得它有点尴尬.简单的东西很容易,但高级的东西要困难得多(指令、提供者/服务/工厂...)
I'm pretty new to AngularJS and I find it a bit awkward. The easy stuff is very easy, but the advanced things are significantly harder (directives, provider / service / factory...)
文档对于刚开始学习这些东西的人来说不是很有帮助;我发现自己一直在寻找我需要的指令,而不是自己编写指令.
The documentation isn't very helpful for someone who's just starting to learn those things; and I find myself constantly searching for directives for things I need instead of writing my own.
我尝试了 Ember.js 并且我的工作效率更高,但 API 仍在显着更改,因此我现在更喜欢跳过它.
I tried Ember.js and I was much more productive with it, but the API is still being changed significantly so I prefer skipping it for now.
是否有更好的资源可以正确地进入 AngularJS?
Are there any better resources to get into AngularJS properly?
推荐答案
这是我遇到的最全面的 AngularJS 学习资源库:
This is the most comprehensive AngularJS learning resource repository I've come across:
选出最好的部分(按照推荐的学习顺序):
To pluck out the best parts (in recommended order of learning):
- http://www.egghead.io/ - 一系列简短的 AngularJS 视频
- AngularJS 备忘单 - 定期更新备忘单 [2 月 13 日最新更新,2013]
- 关于嵌套作用域 - 指出可能使用范围时的问题继承(参考 Misko Hevery 的一个很好的谈话)也看)
- 依赖注入 - 官方开发者指南DI
- 依赖注入 - 详细了解 AngularJS 依赖注入
- 服务还是工厂?" -各种类型之间的差异提供者
- 指令 - 关于指令的官方开发者指南
- 指令 -指令的搭便车指南
- 项目结构 - 看看这个应用
- Angular-UI - 任何 UI 开发都必须使用组件
- UI-Bootstrap - 从头开始 JS 重新实现引导程序组件作为 AngularJS 指令
- 全谱测试AngularJS 和 Karma
- 奖励 - AngularJS 中的数据绑定,由 Misko Hevery 本人解释.
- http://www.egghead.io/ - Series of short, to the point AngularJS videos
- AngularJS Cheatsheet - regularly updated cheatsheet [latest update 13th February, 2013]
- On nested scopes - Points out possible problems when using scope inheritance (references a good talk by Misko Hevery that you should also watch)
- Dependency injection - Official developer guide on DI
- Dependency injection - More on AngularJS dependency injection
- "Service or Factory?" - Differences between the various types of providers
- Directives - Official developer guide on directives
- Directives - The hitchhiker's guide to the directive
- Project structure - Check out this app
- Angular-UI - Must use components for any UI development
- UI-Bootstrap - From-scratch JS re-implementations of bootstrap components as AngularJS directives
- Full-Spectrum Testing with AngularJS and Karma
- Bonus - Data binding in AngularJS, explained by Misko Hevery himself.
这篇关于如何掌握 AngularJS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!