angular.js/test
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
..
auto fix($injector): properly infer dependencies from fn with no args 2012-03-29 11:21:04 -07:00
ng fix($location): properly rewrite urls in html5 mode with base url set 2012-04-12 02:36:03 -07:00
ngCookies chore(ngCookies): moved to module 2012-03-28 11:16:36 -07:00
ngMock chore($browser): remove the addJs method 2012-04-09 17:59:47 -07:00
ngResource chore(Rakefile): get ready for modules 2012-03-28 11:16:36 -07:00
ngSanitize chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module 2012-04-11 15:50:47 -07:00
ngScenario fix(e2eRunner): $browser.location should delegate to apps $location 2012-04-12 02:36:03 -07:00
AngularSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ApiSpecs.js fix(ng:repeat): support repeating over array with null 2012-01-06 12:19:39 -08:00
BinderSpec.js feat(ngModel): update model on each key stroke (revert ngModelInstant) 2012-04-03 10:10:44 -07:00
jqLiteSpec.js feat(jqLite): make injector() and scope() work with the document object 2012-03-22 16:39:36 -07:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
loaderSpec.js feat($controller): support controller registration via $controllerProvider 2012-03-26 15:23:29 -07:00
matchers.js fix(matchers.toHaveClass): Correct reference to angular.mock.dump 2012-03-19 17:26:29 -07:00
testabilityPatch.js chore(Rakefile): get ready for modules 2012-03-28 11:16:36 -07:00