* Identify resources for learning more about AngularJS.
根据教程先get代码
'''git clone --depth=14 https://github.com/angular/angular-phonecat.git'''
--depth=14表示只取最近14次的提交,避免文件过大。
在phonecat目录中安装所需的软件包。
'''npm-install'''
这个命令会安装大量的软件包,一通下载之后,phonecat/node_modules目录下面已经66.3 MB (69,538,996 字节)了。同情一下小白用户。
然后尝试用 '''npm start'''启动测试服务器,用'''npm run protractor''',看到浏览器里一通噼里啪啦,很高大上的样子。看来这个端到端的测试( end to end ,E2E) 很赞啊!
为了跑karma,还要安装Firefox,各种安装中。。。
It is very common to run End to End tests before pushing a new commit of changes to a remote repository.
通常在提交一个版本之前,应该执行端到端(e2e)测试。
==Chapter 0 - Bootstrapping==
angular-seed project
https://github.com/angular/angular-seed
这是一个空的angular项目,专门给各个项目做模板的。
==Chapter 1 - Static Template==
==Chapter 2 - Angular Templates==