docs(upgrade): move examples etc into @usageNotes
(#26039)
PR Close #26039
This commit is contained in:

committed by
Kara Erickson

parent
c08549ae38
commit
fef9cebed0
@ -29,6 +29,7 @@ interface Thenable<T> {
|
||||
* This helper function returns a factory function to be used for registering
|
||||
* an AngularJS wrapper directive for "downgrading" an Angular component.
|
||||
*
|
||||
* @usageNotes
|
||||
* ### Examples
|
||||
*
|
||||
* Let's assume that you have an Angular component called `ng2Heroes` that needs
|
||||
|
@ -20,6 +20,7 @@ import {INJECTOR_KEY} from './constants';
|
||||
* This helper function returns a factory function that provides access to the Angular
|
||||
* service identified by the `token` parameter.
|
||||
*
|
||||
* @usageNotes
|
||||
* ### Examples
|
||||
*
|
||||
* First ensure that the service to be downgraded is provided in an `NgModule`
|
||||
|
Reference in New Issue
Block a user