Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @NgModule({
- imports: [
- BrowserModule,
- FormsModule,
- ],
- declarations: [
- test,
- ],
- bootstrap: [ AppComponent ],
- providers: [
- userService
- ]
- })
- export class AppModule { }
- export class TestComponent implements OnInit, OnDestroy {
- constructor(public user: userService)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement