docs(cheatsheet): fix typo NgModule definition (#11377)

`.Class` and not `.class` in js approach for NgModule definition.
This commit is contained in:
Alberto Santini 2016-09-08 01:05:05 +02:00 committed by Evan Martin
parent ed2ebeb52a
commit 643afa4b15
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ Defines a module that contains components, directives, pipes, and providers.
syntax(js):
`ng.core.NgModule({declarations: ..., imports: ...,
exports: ..., providers: ..., bootstrap: ...}).
class({ constructor: function() {}})`
Class({ constructor: function() {}})`
description:
Defines a module that contains components, directives, pipes, and providers.