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

Commit 034fade

Browse files
Elijenlgalfaso
authored andcommitted
docs(error/nobase): Added trailing slash for base path
Trailing slash seems to be necessary, otherwise `$routeProvider` does not match routes correctly. Following is not matched: URL http://www.example.com/b/foo/1234 `<base href="/b/foo">` ``` $routeProvider.when('/:id', { templateUrl: '/view/path.html', controller: 'MyCtrl', reloadOnSearch: false }); ```
1 parent e24f22b commit 034fade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/error/$location/nobase.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ URL of the subcontext:
3535

3636
```html
3737
<head>
38-
<base href="/subapp">
38+
<base href="/subapp/">
3939
...
4040
</head>
4141
```

0 commit comments

Comments
 (0)