angular.js/test/ng
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
..
directive fix(input.radio): support 2-way binding in a repeater 2012-04-11 15:50:52 -07:00
filter chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module 2012-04-11 15:50:47 -07:00
anchorScrollSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
browserSpecs.js chore($browser): remove the addJs method 2012-04-09 17:59:47 -07:00
cacheFactorySpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
compilerSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
controllerSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
deferSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
documentSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
exceptionHandlerSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
httpBackendSpec.js chore($browser): remove the addJs method 2012-04-09 17:59:47 -07:00
httpSpec.js feat($http): expose the defaults config as $http.defaults 2012-04-11 17:29:16 -07:00
interpolateSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
localeSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
locationSpec.js fix($location): properly rewrite urls in html5 mode with base url set 2012-04-12 02:36:03 -07:00
logSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
parseSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
qSpec.js fix($q): $q.reject should forward callbacks if missing 2012-04-02 10:14:04 -07:00
rootScopeSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
routeParamsSpec.js feat($route): allow chaining of whens and otherwise 2012-04-04 16:10:44 -07:00
routeSpec.js feat($route): allow chaining of whens and otherwise 2012-04-04 16:10:44 -07:00
snifferSpec.js feat($sniffer): add hasEvent method for sniffing events 2012-04-03 10:10:44 -07:00
windowSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00