我对AngularJS很陌生,我觉得它有点尴尬。简单的东西非常简单,但高级的东西要难得多(指令、提供者/服务/工厂……)
对于那些刚开始学习这些东西的人来说,文档并不是很有帮助;我发现自己总是在寻找我需要的东西的指示,而不是自己写。
我尝试了Ember.js,我用它的效率更高,但API仍然在发生重大变化,所以我现在更喜欢跳过它。
有没有更好的资源可以让你更好地进入AngularJS ?
我对AngularJS很陌生,我觉得它有点尴尬。简单的东西非常简单,但高级的东西要难得多(指令、提供者/服务/工厂……)
对于那些刚开始学习这些东西的人来说,文档并不是很有帮助;我发现自己总是在寻找我需要的东西的指示,而不是自己写。
我尝试了Ember.js,我用它的效率更高,但API仍然在发生重大变化,所以我现在更喜欢跳过它。
有没有更好的资源可以让你更好地进入AngularJS ?
当前回答
这是我遇到的最全面的AngularJS学习资源库:
AngularJS-Learning
挑选出最好的部分(按推荐的学习顺序):
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.
其他回答
请关注社区成员讨论的问题/解决方案的邮件列表。https://groups.google.com/forum/?fromgroups !论坛/角。这对我来说真的很有用。
关于更高级的用法,我发现这两页是必读的:
http://docs.angularjs.org/guide/directive http://docs.angularjs.org/guide/scope
freenode.net上的#angularjs IRC频道是获得实时响应的好方法。
通过IRC获得帮助的建议:
有一个相对具体的问题要问。 如果可能的话,使用Plunker或JSFiddle演示您的问题。 选择“黄金时段”来询问(下午三点到晚上,EST对我来说比较合适)。 不要突然出现,问了一个问题,然后在有人没有立即回答的情况下2分钟后离开。我们大多数人只是定期检查IRC。
这是我遇到的最全面的AngularJS学习资源库:
AngularJS-Learning
挑选出最好的部分(按推荐的学习顺序):
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.
这个答案是基于这本书的问题和书名:http://www.packtpub.com/angularjs-web-application-development/book