angular.js/docs
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
..
content fix($location): properly rewrite urls in html5 mode with base url set 2012-04-12 02:36:03 -07:00
examples docs($http, $httpBackend): docs docs docs 2012-01-13 14:28:20 -08:00
img docs(tutorial): update tutorial intro + steps 0-3 2012-04-04 15:59:18 -07:00
spec fix(ngDocSpec): fix broken tests 2012-03-16 15:32:14 -07:00
src chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module 2012-04-11 15:50:47 -07:00