Demo entry 6317148

anguar 2 component example

   

Submitted by anonymous on Nov 05, 2016 at 12:42
Language: TypeScript. Code size: 363 Bytes.

import { Component } from '@angular/core';
import { List } from '../list/list.component'
import { YetAnotherComponent } from '../yet-another-component.component'

@Component({
  selector: 'page',
  template: require('./page.template.html'),
  styles: [ require('./page.style.css') ],
  directives: [ List, YetAnotherComponent ]
})
export class Page {
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).