No description
Find a file
Igor Minar cbe31d8dfd fix($location): default to / for the url base if no base[href]
With the recent refactoring of $location service we changed this behavior
resulting in a regression.

Previously we thought that html5 mode always required base[href]
to be set in order for urls to resolve properly. It turns out that
base[href] is problematic because it makes anchor urls (#foo) to
always resolve to the base url, which is almost always incorrect
and results in all anchors links and other anchor urls (e.g. svg
references) to be broken.

For this reason, we should now start recommending that people just
deploy to root context (/) and not set the base[href] when using
the html5 mode (push/pop history state).

If it's impossible to deploy to the root context then either all
urls in the app must be absolute or base[href] must be set with the
caveat that anchor urls in such app won't work.

Closes #2762
2013-08-12 16:23:38 -07:00
css fix(ngCloak): hide element even when CSS 'display' is set 2013-08-12 16:23:38 -07:00
docs docs(guide): remove superfluous }); 2013-08-12 16:23:37 -07:00
example set ng-app as personalLog 2013-04-11 15:00:54 -07:00
i18n fix(i18n): Do not transform arrays into objects 2013-08-12 16:23:38 -07:00
images chore(Grunt): switch from Rake to Grunt 2013-03-05 23:35:13 -08:00
lib fix(grunt): cache version number 2013-08-12 16:23:38 -07:00
logs creating logs/ and tmp/ dirs 2010-10-29 10:47:06 -07:00
src fix(ngCloak): hide element even when CSS 'display' is set 2013-08-12 16:23:38 -07:00
test fix($location): default to / for the url base if no base[href] 2013-08-12 16:23:38 -07:00
.bowerrc chore(bower): add a .bowerrc file 2013-08-12 16:23:37 -07:00
.gitignore chore(.gitignore): ignore npm-debug.log file 2013-08-12 16:23:37 -07:00
.travis.yml chore(build): add check for merge conflicts, ddescribe, and iit 2013-07-11 11:59:38 -07:00
angularFiles.js chore: clean up angularFiles.js 2013-06-28 16:35:05 -07:00
changelog.js chore(changelog.js): improve the changelog script 2013-01-23 10:57:51 -08:00
CHANGELOG.md docs(changelog): fix changelog formatting 2013-05-22 21:48:37 -07:00
changelog.spec.js chore(changelog.js): improve the changelog script 2013-01-23 10:57:51 -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:35:13 -08:00
CONTRIBUTING.md docs(CONTRIBUTING.md): add contrib info file for GitHub 2012-11-25 21:00:56 +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 15:54:19 -07:00
Gruntfile.js chore(build): add check for merge conflicts, ddescribe, and iit 2013-07-11 11:59:38 -07:00
init-repo.sh docs(tutorial): testacular renamed to karma 2013-04-15 12:30:33 +01:00
karma-e2e.conf.js chore: set up Sauce Labs with Travis 2013-06-28 16:36:30 -07:00
karma-jqlite.conf.js chore: set up Sauce Labs with Travis 2013-06-28 16:36:30 -07:00
karma-jquery.conf.js chore: set up Sauce Labs with Travis 2013-06-28 16:36:30 -07:00
karma-modules.conf.js chore: set up Sauce Labs with Travis 2013-06-28 16:36:30 -07:00
karma-shared.conf.js chore(travis): speed up the build 2013-07-02 15:12:03 -07:00
LICENSE chore(license): update to google 2012-04-20 11:29:34 -07:00
package.json chore(package.json): fix name to work with latest NPM 2013-08-12 16:23:38 -07:00
README.md chore(Grunt): switch from Rake to Grunt 2013-03-05 23:35:13 -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
validate-commit-msg.js docs(validate-commit-msg): fix incorrect comment 2013-06-04 20:24:27 +01:00
validate-commit-msg.spec.js chore(validate-commit-msg): recognize 'revert' as valid commit type 2012-11-11 12:06:05 +01: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.