Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Component({
- selector: 'my-app',
- template: `
- <div>
- <h2>Hello {{name}}</h2>
- <my-custom-input [label]="'Name'">
- <input type="text">
- </my-custom-input>
- </div>
- `,
- })
- export class App {
- name:string;
- constructor() {
- this.name = `Angular! v${VERSION.full}`
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement