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