Advertisement
Guest User

Untitled

a guest
Mar 20th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import {Component} from 'angular2/core'
  2. import {Article} from './article';
  3. import {Input} from "angular2/src/core/metadata";
  4.  
  5. @Component({
  6.     selector: 'single-article',
  7.     //inputs: ['articlew'],
  8.     host: {
  9.         class: 'singlearticle'
  10.     },
  11.     templateUrl: 'app/article.component.html'
  12. })
  13. export class ArticleComponent {
  14.     @Input() articlew;
  15.     constructor() {}
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement