Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Update dev_guide.services.$location.ngdoc #3555

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/content/guide/dev_guide.services.$location.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ reload to the original link.
Example: `<a href="http://angularjs.org/">link</a>`
- Links starting with '/' that lead to a different base path when base is defined<br>
Example: `<a href="/not-my-base/link">link</a>`

When running Angular in the root of a domain, along side perhaps a normal application in the same directory, you should set your base url for Angular to ```.``` and then prefix every route with ```.```. So now when you link to other locations that aren't routed by Angular, they won't be intercepted by the `otherwise` rule in your `$routeProvider`.


### Server side
Expand Down