Thursday, July 13, 2017

app.module.ts

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
import { ProductListComponent } from './products/product-list.component';

@NgModule({
   declarations: [
      AppComponent,
      ProductListComponent
   ],
   imports: [
      BrowserModule
   ],
   providers: [],
   bootstrap: [AppComponent]
})

export class AppModule { }

Thursday, July 6, 2017

index.html

<!doctype html>
<html lang="en">
  <head>
    <title>ProductManagement</title>
    <base href="/">
  </head>
  <body>
    <pm-root></pm-root>
  </body>
</html>