SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

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
        });
```
P
Petr Peller committed
034fade3e8b6448231b640948995960db75d8605
Parent: e24f22b
Committed by Lucas Galfaso <lgalfaso@gmail.com> on 1/11/2015, 7:27:12 PM