docs(upgrade): move examples etc into @usageNotes (#26039)

PR Close #26039
This commit is contained in:
Pete Bacon Darwin
2018-09-20 14:43:43 +01:00
committed by Kara Erickson
parent c08549ae38
commit fef9cebed0
5 changed files with 27 additions and 18 deletions

View File

@ -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

View File

@ -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`