如何掌握 AngularJS? [英] How to master AngularJS?

查看:20
本文介绍了如何掌握 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:

AngularJS-Learning

选出最好的部分(按照推荐的学习顺序):

To pluck out the best parts (in recommended order of 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.

这篇关于如何掌握 AngularJS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆