Angular.js

Google推出的MVVM框架

暂无中文翻译,

AngularJS Build Status

AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding. To help you structure your application better and make it easy to test, AngularJS teaches the browser how to do dependency injection and inversion of control.

Oh yeah and it helps with server-side communication, taming async callbacks with promises and deferreds. It also makes client-side navigation and deeplinking with hashbang urls or HTML5 pushState a piece of cake. Best of all?? It makes development fun!

Building AngularJS

Once you have your environment setup just run:

grunt package

Running Tests

To execute all unit tests, use:

grunt test:unit

To execute end-to-end (e2e) tests, use:

grunt package
grunt test:e2e

To learn more about the grunt tasks, run grunt --help and also read our contribution guidelines.

Analytics

AngularJS Build Status

AngularJS 能让你写出客户端web应用,就好像你有一个聪明的浏览器。为了更清晰更简洁地表达你的应用程序组件,它让你使用老的HTML(或者HAML,Jade和friends)作为你的模板语言,并且让你能够扩展HTML的语法。它会通过双向数据绑定自动从你的UI(视图)同步数据到javascript模型。帮助你更好地构建你的应用,并且更易于测试。AngularJS会告诉浏览器如何做依赖注入和控制反转。 

Oh yeah and it helps with server-side communication, taming async callbacks with promises and deferreds. It also makes client-side navigation and deeplinking with hashbang urls or HTML5 pushState apiece of cake. Best of all?? It makes development fun!

构建 AngularJS

一旦你设置好环境后 只需执行:

grunt package

运行测试

使用如下的命令执行所有的单元测试

grunt test:unit

使用如下的命令执行e2e测试

grunt package
grunt test:e2e

学习更多的 grunt 任务,运行grunt --help 并且阅读我们的贡献指南

Analytics

讨论区