Credit to devdocs.io

angular 2.0_typescript

angular

CommonModule

Stable Class

Class Overview

class CommonModule {
}

Class Description

The module that includes all the basic Angular directives like NgIf, NgFor, ...

Annotations

@NgModule({
  declarations: [COMMON_DIRECTIVES, COMMON_PIPES],
  exports: [COMMON_DIRECTIVES, COMMON_PIPES],
  providers: [
    {provide: NgLocalization, useClass: NgLocaleLocalization},
  ],
})

exported from @angular/common/index, defined in @angular/common/src/common_module.ts

© 2010–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/common/index/CommonModule-class.html