我对AngularJS很陌生,我觉得它有点尴尬。简单的东西非常简单,但高级的东西要难得多(指令、提供者/服务/工厂……)

对于那些刚开始学习这些东西的人来说,文档并不是很有帮助;我发现自己总是在寻找我需要的东西的指示,而不是自己写。

我尝试了Ember.js,我用它的效率更高,但API仍然在发生重大变化,所以我现在更喜欢跳过它。

有没有更好的资源可以让你更好地进入AngularJS ?


当前回答

这个答案是基于这本书的问题和书名:http://www.packtpub.com/angularjs-web-application-development/book

其他回答

这个答案是基于这本书的问题和书名:http://www.packtpub.com/angularjs-web-application-development/book

这是我遇到的最全面的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://docs.angularjs.org/guide/directive http://docs.angularjs.org/guide/scope

视频《AngularJS基础知识60分钟》提供了一个很好的介绍和概述。

我也强烈推荐@Atropo提到的O'Reilly的AngularJS书。

试试这些视频吧,书呆子。io他们是很棒的开始