Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {Component} from 'angular2/core'
- import {Article} from './article';
- import {Input} from "angular2/src/core/metadata";
- @Component({
- selector: 'single-article',
- //inputs: ['articlew'],
- host: {
- class: 'singlearticle'
- },
- templateUrl: 'app/article.component.html'
- })
- export class ArticleComponent {
- @Input() articlew;
- constructor() {}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement