Skip to content

Instantly share code, notes, and snippets.

@cyrilletuzi
Created December 10, 2016 19:30
Show Gist options
  • Save cyrilletuzi/3c3335bbd7849cd64731ddb2638bf7dd to your computer and use it in GitHub Desktop.
Save cyrilletuzi/3c3335bbd7849cd64731ddb2638bf7dd to your computer and use it in GitHub Desktop.
import { NgModule } from '@angular/core';
import { PrivateComponent } from './private.component';
import { PublicComponent } from './public.component';
@NgModule({
declarations: [
PrivateComponent,
PublicComponent
],
exports: [PublicComponent]
})
export class AmazingModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment