feat(di): change the params of Provider and provide to start with "use"
Closes #4684
This commit is contained in:
@ -44,7 +44,7 @@ import {LocationStrategy} from './location_strategy';
|
||||
*
|
||||
* bootstrap(AppCmp, [
|
||||
* ROUTER_PROVIDERS, // includes binding to PathLocationStrategy
|
||||
* provide(APP_BASE_HREF, {asValue: '/my/app'})
|
||||
* provide(APP_BASE_HREF, {useValue: '/my/app'})
|
||||
* ]);
|
||||
* ```
|
||||
*/
|
||||
|
Reference in New Issue
Block a user