Created
May 23, 2018 10:12
-
-
Save nathan-lapinski/7aaf1865f807507bea9fbb5a1e9f295e to your computer and use it in GitHub Desktop.
A simple Angular component
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: ‘pokemon-home’, | |
template: ` | |
<div><h1>{{name}}</h1></div> | |
` | |
}) | |
export class PokemonHomeComponent { | |
name: string = ‘Pokemon, go!’; | |
constructor(){} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment