docs(cheatsheet): complete the copy edit (#11215)

…and general cleanup of the cheatsheet.
This commit is contained in:
Kathy Walrath
2016-09-01 12:06:42 -07:00
committed by Martin Probst
parent 0bb94df1da
commit e42a057048
11 changed files with 96 additions and 146 deletions

View File

@ -9,7 +9,7 @@ syntax(ts):
syntax(js):
`{ provide: MyService, useClass: MyMockService }`|`provide`|`useClass`
description:
Sets or overrides the provider for MyService to the MyMockService class.
Sets or overrides the provider for `MyService` to the `MyMockService` class.
@cheatsheetItem
@ -18,7 +18,7 @@ syntax(ts):
syntax(js):
`{ provide: MyService, useFactory: myFactory }`|`provide`|`useFactory`
description:
Sets or overrides the provider for MyService to the myFactory factory function.
Sets or overrides the provider for `MyService` to the `myFactory` factory function.
@cheatsheetItem
@ -27,4 +27,4 @@ syntax(ts):
syntax(js):
`{ provide: MyValue, useValue: 41 }`|`provide`|`useValue`
description:
Sets or overrides the provider for MyValue to the value 41.
Sets or overrides the provider for `MyValue` to the value `41`.