HTML enhanced for web apps
JavaScript HTML Other
Latest commit 8df4367 Aug 18, 2016 @BBlackwo BBlackwo committed with gkalpak docs($resource): add `status` param to `transformResponse` signature
Add `status` param to `transformResponse` signature to keep inline with 1b74097.

Closes #15041
Failed to load latest commit information.
.github chore: streamline issue/pr templates Mar 11, 2016
benchmarks chore(*): change remaining `/* @this */` to `/** @this */` Aug 10, 2016
css fix(ngAnimate): rename `ng-animate-anchor` to `ng-anchor` May 7, 2015
docs docs(guide/concepts): improve wording Aug 17, 2016
i18n chore(eslint): enable `quotes: ["error", "single"]` Aug 10, 2016
images docs(tutorial): fix typo in images (phoneList --> phoneDetail) Jul 5, 2016
lib chore(build): fix version placeholder matching Aug 12, 2016
logs creating logs/ and tmp/ dirs Oct 29, 2010
scripts chore(eslint): enable `quotes: ["error", "single"]` Aug 10, 2016
src docs($resource): add `status` param to `transformResponse` signature Aug 18, 2016
test feat(input[number]): support step Aug 17, 2016
.editorconfig chore(.editorconfig): remove settings for ngLocale after change to sc… Oct 31, 2014
.eslintignore chore(*): switch from JSHint/JSCS to ESLint Aug 5, 2016
.eslintrc-base.json chore(eslint): enable `quotes: ["error", "single"]` Aug 10, 2016
.eslintrc-browser.json chore(*): switch from JSHint/JSCS to ESLint Aug 5, 2016
.eslintrc-node.json chore(*): switch from JSHint/JSCS to ESLint Aug 5, 2016
.eslintrc-todo.json chore(eslint): enable `quotes: ["error", "single"]` Aug 10, 2016
.eslintrc.json chore(*): switch from JSHint/JSCS to ESLint Aug 5, 2016
.gitattributes chore(*): add .gitattributes with new lines configuration Dec 30, 2014
.gitignore chore(gitignore): exclude .log and .stackdump files Apr 17, 2016
.nvmrc chore(*): Add .nvmrc Aug 5, 2016
.travis.yml fix(travis): Don't run e2e tests with jQuery twice Apr 6, 2016
CHANGELOG.md docs(CHANGELOG.md): add release notes for v1.5.8 Jul 22, 2016
CONTRIBUTING.md docs(CONTRIBUTING.md): minor improvements Aug 10, 2016
Gruntfile.js chore(eslint): enable `quotes: ["error", "single"]` Aug 10, 2016
LICENSE chore(*): Updated year in licence Jan 2, 2016
README.closure.md docs(README.closure.md): clarify sentence Jun 1, 2015
README.md docs(readme): remove "(beta)" from Angular 2 link May 13, 2016
TRIAGING.md docs(TRIAGING.md): fix a broken link Jan 31, 2016
angularFiles.js chore(eslint): enable `quotes: ["error", "single"]` Aug 10, 2016
bower.json chore(bower): change the name in bower.json Aug 5, 2016
changelog.js chore(eslint): enable `quotes: ["error", "single"]` Aug 10, 2016
changelog.spec.js chore(*): switch from JSHint/JSCS to ESLint Aug 5, 2016
check-size.sh chore(Grunt): switch from Rake to Grunt Mar 6, 2013
compare-master-to-stable.js chore(*): change remaining `/* @this */` to `/** @this */` Aug 10, 2016
gdocs.js chore(eslint): enable `quotes: ["error", "single"]` Aug 10, 2016
init-repo.sh docs(tutorial): testacular renamed to karma Apr 15, 2013
karma-docs.conf.js refactor(jshint): reduce duplication & test all JS files Jul 8, 2014
karma-jqlite.conf.js test(jqLite): make iframe contents() test less flaky Jul 16, 2014
karma-jquery-2.1.conf.js test(jQuery): Run tests with jQuery 3 Jul 13, 2016
karma-jquery-2.2.conf.js test(jQuery): Run tests with jQuery 3 Jul 13, 2016
karma-jquery.conf-factory.js chore(*): switch from JSHint/JSCS to ESLint Aug 5, 2016
karma-jquery.conf.js test(jQuery): Run tests with jQuery 3 Jul 13, 2016
karma-modules.conf.js fix(modules): allow modules to be loaded in any order when using `ang… Jun 17, 2016
karma-shared.conf.js chore(eslint): enable `quotes: ["error", "single"]` Aug 10, 2016
npm-shrinkwrap.clean.json chore(*): switch from JSHint/JSCS to ESLint Aug 5, 2016
npm-shrinkwrap.json chore(*): switch from JSHint/JSCS to ESLint Aug 5, 2016
package.json chore(*): switch from JSHint/JSCS to ESLint Aug 5, 2016
protractor-conf.js chore(travis): use Firefox 47 Jul 22, 2016
protractor-jenkins-conf.js chore(Jenkins): fix e2e tests on Jenkins Jul 11, 2016
protractor-shared-conf.js chore(travis): use Firefox 47 Jul 22, 2016
protractor-travis-conf.js chore(travis): use Firefox 47 Jul 22, 2016
validate-commit-msg.js chore(*): switch from JSHint/JSCS to ESLint Aug 5, 2016
validate-commit-msg.spec.js chore(eslint): enable `quotes: ["error", "single"]` Aug 10, 2016

README.md

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.

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

Looking for Angular 2? Go here: https://github.com/angular/angular

Building AngularJS

Once you have set up your environment, 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

Contribute & Develop

We've set up a separate document for our contribution guidelines.

Analytics

What to use AngularJS for and when to use it

AngularJS is the next generation framework where each component is designed to work with every other component in an interconnected way like a well-oiled machine. AngularJS is JavaScript MVC made easy and done right. (Well it is not really MVC, read on, to understand what this means.)

MVC, no, MV* done the right way!

MVC, short for Model-View-Controller, is a design pattern, i.e. how the code should be organized and how the different parts of an application separated for proper readability and debugging. Model is the data and the database. View is the user interface and what the user sees. Controller is the main link between Model and View. These are the three pillars of major programming frameworks present on the market today. On the other hand AngularJS works on MV*, short for Model-View-Whatever. The Whatever is AngularJS's way of telling that you may create any kind of linking between the Model and the View here.

Unlike other frameworks in any programming language, where MVC, the three separate components, each one has to be written and then connected by the programmer, AngularJS helps the programmer by asking him/her to just create these and everything else will be taken care of by AngularJS.

Interconnection with HTML at the root level

AngularJS uses HTML to define the user's interface. AngularJS also enables the programmer to write new HTML tags (AngularJS Directives) and increase the readability and understandability of the HTML code. Directives are AngularJS’s way of bringing additional functionality to HTML. Directives achieve this by enabling us to invent our own HTML elements. This also helps in making the code DRY (Don't Repeat Yourself), which means once created, a new directive can be used anywhere within the application.

Data Handling made simple

Data and Data Models in AngularJS are plain JavaScript objects and one can add and change properties directly on it and loop over objects and arrays at will.

Two-way Data Binding

One of AngularJS's strongest features. Two-way Data Binding means that if something changes in the Model, the change gets reflected in the View instantaneously, and the same happens the other way around. This is also referred to as Reactive Programming, i.e. suppose a = b + c is being programmed and after this, if the value of b and/or c is changed then the value of a will be automatically updated to reflect the change. AngularJS uses its "scopes" as a glue between the Model and View and makes these updates in one available for the other.

Less Written Code and Easily Maintainable Code

Everything in AngularJS is created to enable the programmer to end up writing less code that is easily maintainable and readable by any other new person on the team. Believe it or not, one can write a complete working two-way data binded application in less than 10 lines of code. Try and see for yourself!

Testing Ready

AngularJS has Dependency Injection, i.e. it takes care of providing all the necessary dependencies to its controllers whenever required. This helps in making the AngularJS code ready for unit testing by making use of mock dependencies created and injected. This makes AngularJS more modular and easily testable thus in turn helping a team create more robust applications.