Skip to content

Instantly share code, notes, and snippets.

@hackrio1
Created September 25, 2018 21:11
Embed
What would you like to do?
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-demo',
templateUrl: './demo.component.html',
styleUrls: './demo.component.scss'
})
export class DemoComponent implements OnInit {
message: string,
constructor: () {}
ngOnInit {
this.message = "Hello"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment