Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created July 13, 2018 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdyrrahitis/569e6a717d2c911e7020f6b3fc46ff3b to your computer and use it in GitHub Desktop.
Save gdyrrahitis/569e6a717d2c911e7020f6b3fc46ff3b to your computer and use it in GitHub Desktop.
import { Component, OnInit } from "@angular/core";
@Component({
moduleId: module.id,
selector: "home-component",
templateUrl: "./home.component.html",
styleUrls: ["./home.component.css"]
})
export class HomeComponent implements OnInit {
message: string;
ngOnInit() {
this.message = "... and this is the HomeComponent, hello from here too!";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment