Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 1.01 KB

snippet-template.md

File metadata and controls

50 lines (41 loc) · 1.01 KB
title author level tags links
Feature Description
Your name or github handle.
beginner|intermediate|advanced
tips
good-to-know

Content

Bonus

file:app.component.ts

import { Component } from '@angular/core';

@Component({
  selector: 'my-app',
  template: `<h1>Update me!</h1>`
})
export class AppComponent {}

file:app.module.ts

// This section is optional, remove it if the code below is good.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';

@NgModule({
  imports: [BrowserModule],
  declarations: [AppComponent],
  bootstrap: [AppComponent]
})
export class AppModule {}