Last active
June 16, 2018 23:47
-
-
Save DevWellington/a7781744593785a951523e4c8fb0ba4a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core' | |
@Component({ | |
selector: 'app-first', | |
templateUrl: './myfirst-component.html', | |
// template: `<h1>{{ title }}</h1>`, | |
// template: `<h1>{{ title }}</h1> | |
// <p> Welcome, {{ user.name }}!</p>` | |
}) | |
export class MyFirstComponent { | |
// title: string = 'My Star Wars Component' | |
// user = { name: 'Luke Skywalker' } | |
constructor() {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment