chore: update cheatsheet for new provider syntax (#9227)

This commit is contained in:
Jesús Rodríguez
2016-06-16 00:11:39 +02:00
committed by Naomi Black
parent 27024915e4
commit 54c577cfe0
4 changed files with 12 additions and 12 deletions

View File

@ -17,8 +17,8 @@ Does not support parent-child relationship selectors.
@cheatsheetItem
syntax(ts dart):
`providers: [MyService, provide(...)]`|`providers:`
`providers: [MyService, { provide: ... }]`|`providers:`
syntax(js):
`providers: [MyService, ng.core.provide(...)]`|`providers:`
`providers: [MyService, { provide: ... }]`|`providers:`
description:
Array of dependency injection providers for this directive and its children.