No description
Find a file
Igor Minar 6d7e7fdea6 fix($location): properly rewrite urls in html5 mode with base url set
previously we were doing all kinds of checks to see if we should rewrite the url or not and we
were missing many scenarios. not any more.

with this change, we rewrite the url unless:
- the href is not set
- link has target attribute
- the absolute url of the link doesn't match the absolute prefix for all urls in our app

This also means that ng-ext-link attribute which we previously used to distinguish external
links from app links is not necessary any more. apps can just set target=_self to prevent
rewriting.

BREAKING CHANGE: ng-ext-link directive was removed because it's unnecessary

apps that relied on ng-ext-link should simply replace it with target=_self
2012-04-12 02:36:03 -07:00
.externalToolBuilders Created a performance test harness and reporter 2011-06-08 13:49:10 -07:00
.settings added any edit perf to make sure no trailing whitespace 2011-01-24 14:23:51 -08:00
css refactor(directives): connect new compiler 2012-01-25 11:50:37 -08:00
docs fix($location): properly rewrite urls in html5 mode with base url set 2012-04-12 02:36:03 -07:00
example docs(examples): update example apps 2012-03-28 11:24:47 -07:00
i18n fix(i18n e2e tests): 2012-03-28 11:24:47 -07:00
images docs(tutorial): update tutorial intro + steps 0-3 2012-04-04 15:59:18 -07:00
lib chore(jasmine-adapter): upgrade 2012-01-25 11:46:34 -08:00
logs creating logs/ and tmp/ dirs 2010-10-29 10:47:06 -07:00
perf feat(module): new module loader 2012-01-10 22:27:00 -08:00
regression style(docs): make jslint happy - fix some warnings 2011-11-14 20:31:19 -08:00
src fix($location): properly rewrite urls in html5 mode with base url set 2012-04-12 02:36:03 -07:00
test fix($location): properly rewrite urls in html5 mode with base url set 2012-04-12 02:36:03 -07:00
tmp creating logs/ and tmp/ dirs 2010-10-29 10:47:06 -07:00
.gitignore style(.gitignore) added IDEA 2011-10-11 10:53:07 -07:00
.project Created a performance test harness and reporter 2011-06-08 13:49:10 -07:00
angularFiles.js chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module 2012-04-11 15:50:47 -07:00
angularjs.ftp add ftp script to auto deploy to angularjs.org 2010-08-14 11:03:36 -07:00
changelog.js chore(release scripts): group changelog only if more than 1 entry 2012-04-11 16:12:58 -07:00
CHANGELOG.md fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
changelog.spec.js chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
changelog.tmp.md chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
gdocs.js chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
gen_docs.sh fix(gen-docs): require files without touching PATH 2011-10-18 22:23:52 -07:00
gen_jstd_configs.js chore(Rakefile): get ready for modules 2012-03-28 11:16:36 -07:00
java ng:repeat ignores prototype keys 2010-07-09 14:45:29 -07:00
LICENSE MIT license 2010-01-05 16:57:36 -08:00
nodeserver.sh Fix issue where directories don't have a slash on the end and allow specifying a different port 2010-10-23 14:22:54 -07:00
pom.xml chore(ide): add pom.xml for IDEs that grok maven 2011-08-23 08:17:46 -07:00
Rakefile chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module 2012-04-11 15:50:47 -07:00
README.md chore(readme): add some links and update test commands 2012-01-05 19:54:42 -08:00
release-commit.sh chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
server-coverage.sh Add test coverage analysis. 2010-11-12 16:13:53 -08:00
server-scenario.sh JSTD adapter for running e2e tests 2011-05-19 09:43:56 -07:00
server.sh refactor(angular): externalize script load order into JSON 2011-09-13 01:02:22 +02:00
start-iteration.sh chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
test-coverage.sh Allow disabling of shell scripts without changing eclipse configuration 2011-06-08 13:46:39 -07:00
test-jquery.sh chore(scripts): add test-jquery.sh for running unit tests with jQuery 2011-07-14 10:59:25 +02:00
test-modules.sh chore(Rakefile): get ready for modules 2012-03-28 11:16:36 -07:00
test-perf.sh Allow disabling of shell scripts without changing eclipse configuration 2011-06-08 13:46:39 -07:00
test-reset.sh Created a performance test harness and reporter 2011-06-08 13:49:10 -07:00
test-scenario.sh Allow disabling of shell scripts without changing eclipse configuration 2011-06-08 13:46:39 -07:00
test.sh chore(scripts): add test-jquery.sh for running unit tests with jQuery 2011-07-14 10:59:25 +02:00
version.js chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
version.yaml chore(release): starting 1.0.0rc5 reality-distortion iteration 2012-04-09 08:59:31 -07:00
watchr-docs.rb chore(watchr): watchr scripts should output logs to terminal 2011-10-31 11:34:25 -07:00
watchr.rb chore(watchr): watchr scripts should output logs to terminal 2011-10-31 11:34:25 -07:00

AngularJS

Compiling

rake compile

Running Tests

./server.sh                          # start the server
open http://localhost:9876/capture   # capture browser
./test.sh                            # run all unit tests