Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {Component} from 'angular2/core'
- @Component({
- selector: 'digit',
- providers: [],
- template:`
- <div>
- <h2>{{name}}</h2>
- </div>
- `,
- directives: []
- })
- export class App {
- constructor(){
- this.name = 'Inline',
- }
- }
Add Comment
Please, Sign In to add comment