angular.js/docs/content/guide
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
..
dev_guide.bootstrap.auto_bootstrap.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.bootstrap.manual_bootstrap.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.bootstrap.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.compiler.ngdoc Doc fixes in bootstrap 2012-04-03 07:07:49 -07:00
dev_guide.compiler.testing_dom_element.ngdoc docs(compiler): update the compiler docs 2012-01-25 11:53:59 -08:00
dev_guide.compiler.understanding_compiler.ngdoc docs(links): corrected borken links 2012-03-13 19:36:09 -07:00
dev_guide.di.ngdoc style(docs): make jslint happy - fix some warnings 2011-11-14 20:31:19 -08:00
dev_guide.di.understanding_di.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.di.using_di_controllers.ngdoc doc(guide/controller): fix examples 2012-03-23 16:54:48 -07:00
dev_guide.e2e-testing.ngdoc style(docs): make jslint happy - fix some warnings 2011-11-14 20:31:19 -08:00
dev_guide.expressions.ngdoc docs(*): fixing various docs 2012-03-13 23:17:43 -07:00
dev_guide.forms.ngdoc docs(guide.forms): fix the forms dev guide to use ng-disabled 2012-04-10 13:42:17 -07:00
dev_guide.i18n.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.introduction.ngdoc docs(*): remove @workInProgress from everywhere 2011-10-12 23:04:48 -07:00
dev_guide.mvc.ngdoc docs(*): remove @workInProgress from everywhere 2011-10-12 23:04:48 -07:00
dev_guide.mvc.understanding_controller.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.mvc.understanding_model.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.mvc.understanding_view.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.overview.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.scopes.internals.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.scopes.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.scopes.understanding_scopes.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.services.$location.ngdoc fix($location): properly rewrite urls in html5 mode with base url set 2012-04-12 02:36:03 -07:00
dev_guide.services.creating_services.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.services.injecting_controllers.ngdoc docs(guide): fix non-working example + add docs for implicit DI 2012-03-13 17:14:50 -07:00
dev_guide.services.managing_dependencies.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.services.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.services.testing_services.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.services.understanding_services.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.templates.css-styling.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.templates.databinding.ngdoc docs(*): remove @workInProgress from everywhere 2011-10-12 23:04:48 -07:00
dev_guide.templates.filters.creating_filters.ngdoc docs(links): corrected borken links 2012-03-13 19:36:09 -07:00
dev_guide.templates.filters.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.templates.filters.using_filters.ngdoc style(docs): make jslint happy - fix some warnings 2011-11-14 20:31:19 -08:00
dev_guide.templates.ngdoc fix(docs): change all directive references to use the normalized names 2012-04-09 09:52:27 -07:00
dev_guide.unit-testing.ngdoc docs(guide/unit-testing): fixed typo in code example 2012-03-26 16:06:16 -07:00
ie.ngdoc doc(fixes): to better support ng-directive notation 2012-03-11 21:31:35 -07:00
index.ngdoc docs(links): corrected borken links 2012-03-13 19:36:09 -07:00
module.ngdoc docs(guide/module): fix syntax error and expectation in test example 2012-03-26 16:06:46 -07:00