Created
November 3, 2018 15:42
-
-
Save azaharafernandezguizan/3849e1d91ed79505a24687eea73132da to your computer and use it in GitHub Desktop.
Example of Angular´s component module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NgModule } from '@angular/core'; | |
import { CommonModule } from '@angular/common'; | |
import { FormsModule} from '@angular/forms'; | |
import { MagicaLessonsComponent } from './magical.lessons.component'; | |
import { MagicalLessonsListComponent } from './magical.lessons.list.component'; | |
import { MagicalLessonsResolver } from './magical.lessons.resolver'; | |
@NgModule({ | |
imports: [ | |
CommonModule, | |
FormsModule | |
], | |
declarations: [MagicaLessonsComponent, MagicalLessonsListComponent], | |
providers:[ | |
MagicalLessonsResolver | |
] | |
}) | |
export class MagicalLessonsModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment