diff --git a/modules/angular2/docs/cheatsheet/class-decorators.md b/modules/angular2/docs/cheatsheet/class-decorators.md index b1d0a768e9..e1862e764e 100644 --- a/modules/angular2/docs/cheatsheet/class-decorators.md +++ b/modules/angular2/docs/cheatsheet/class-decorators.md @@ -35,9 +35,8 @@ syntax(ts): `@Injectable() class MyService() {}`|`@Injectable()` syntax(js): -`var MyService = ng.core.Class({constructor: [OtherService, function(otherService) { }]}); -var OtherService = ng.core.Class({constructor: function() { }});` -var MyService = ng.core.Injectable({...})`|`ng.core.Injectable({...})` +`var OtherService = ng.core.Class({constructor: function() { }}); +var MyService = ng.core.Class({constructor: [OtherService, function(otherService) { }]});`|`var MyService = ng.core.Class({constructor: [OtherService, function(otherService) { }]});` syntax(dart): `@Injectable() class MyService() {}`|`@Injectable()`