No description
Find a file
Pete Bacon Darwin a644ca7b4e fix(resource): check whether response matches action.isArray
When using $resource you must setup your actions carefully based on what the server returns.
If the server responds to a request with an array then you must configure the action with
`isArray:true` and vice versa.  The built-in `get` action defaults to `isArray:false` and the
`query` action defaults to `isArray:true`, which is must be changed if the server does not do this.
Before the error message was an exception inside angular.copy, which didn't explain what the
real problem was. Rather than changing the way that angular.copy works, this change ensures that
a better error message is provided to the programmer if they do not set up their resource actions
correctly.

Closes #2255, #1044
2013-07-31 21:17:37 +01:00
css feat(ngAnimate): complete rewrite of animations 2013-07-26 23:49:54 -07:00
docs fix(resource): check whether response matches action.isArray 2013-07-31 21:17:37 +01:00
example docs(examples): set ng-app to "personalLog" (example/personalLog) 2013-04-11 14:53:40 -07:00
i18n fix(i18n): Do not transform arrays into objects 2013-07-03 22:51:31 +01:00
images chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
lib chore(bower): write grunt task for running bower 2013-07-30 17:31:35 -07:00
logs creating logs/ and tmp/ dirs 2010-10-29 10:47:06 -07:00
src fix(resource): check whether response matches action.isArray 2013-07-31 21:17:37 +01:00
test fix(resource): check whether response matches action.isArray 2013-07-31 21:17:37 +01:00
.gitignore fix(bower): update bower usage and resources 2013-07-29 17:26:01 -07:00
.travis.yml chore(bower): write grunt task for running bower 2013-07-30 17:31:35 -07:00
angularFiles.js fix(bower): update bower usage and resources 2013-07-29 17:26:01 -07:00
bower.json fix(bower): update bower usage and resources 2013-07-29 17:26:01 -07:00
changelog.js chore(changelog.js): improve the changelog script 2013-01-22 22:49:00 -08:00
CHANGELOG.md docs(changelog): fix changelog formatting 2013-05-22 21:46:17 -07:00
changelog.spec.js chore(changelog.js): improve the changelog script 2013-01-22 22:49:00 -08:00
changelog.tmp.md chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
check-size.sh chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
CONTRIBUTING.md docs(CONTRIBUTING.md): add contrib info file for GitHub 2012-11-25 21:00:14 +01:00
gdocs.js chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
gen_docs.sh chore(docs): get correct location for jasmine-node 2012-09-06 16:06:25 -07:00
Gruntfile.js chore(bower): write grunt task for running bower 2013-07-30 17:31:35 -07:00
init-repo.sh docs(tutorial): testacular renamed to karma 2013-04-15 12:28:31 +01:00
karma-docs.conf.js feat(ngAnimate): complete rewrite of animations 2013-07-26 23:49:54 -07:00
karma-e2e.conf.js chore: set up Sauce Labs with Travis 2013-06-28 11:43:38 -07:00
karma-jqlite.conf.js chore: set up Sauce Labs with Travis 2013-06-28 11:43:38 -07:00
karma-jquery.conf.js chore: set up Sauce Labs with Travis 2013-06-28 11:43:38 -07:00
karma-modules.conf.js chore: set up Sauce Labs with Travis 2013-06-28 11:43:38 -07:00
karma-shared.conf.js chore(travis): speed up the build 2013-07-02 13:58:52 -07:00
LICENSE chore(license): update to google 2012-04-20 11:29:34 -07:00
package.json chore(bower): write grunt task for running bower 2013-07-30 17:31:35 -07:00
README.md chore(Grunt): switch from Rake to Grunt 2013-03-05 23:00:33 -08:00
release-commit.sh chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
start-iteration.sh chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
travis_build.sh chore(bower): write grunt task for running bower 2013-07-30 17:31:35 -07:00
validate-commit-msg.js docs(validate-commit-msg): fix incorrect comment 2013-06-04 20:23:51 +01:00
validate-commit-msg.spec.js fix(git-validator): support fixup and better errors 2013-01-17 23:52:46 -08:00
watchr-docs.rb chore(watchr): watchr scripts should output logs to terminal 2011-10-31 11:34:25 -07:00

AngularJS

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 HTMLs syntax to express your applications 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 also helps with server-side communication, taming async callbacks with promises and deferreds; and make client-side navigation and deeplinking with hashbang urls or HTML5 pushState a piece of cake. The 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.