Skip to content

Instantly share code, notes, and snippets.

@ricmello
Created June 12, 2019 03:26
Show Gist options
  • Save ricmello/189cf361284d2cc8a4d7247d159b1f7d to your computer and use it in GitHub Desktop.
Save ricmello/189cf361284d2cc8a4d7247d159b1f7d to your computer and use it in GitHub Desktop.
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { <%= classify(name) %>ListComponent } from './<%= name %>-list.component';
import { <%= classify(name) %>FormComponent } from './<%= name %>-form.component';
@NgModule({
imports: [CommonModule],
declarations: [<%= classify(name) %>ListComponent, <%= classify(name) %>FormComponent],
})
export class <%= classify(name) %>Module {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment