1 import { Component, Input, OnInit } from '@angular/core'
2 import { VideoChannel, VideoChannelService } from '../shared-main'
5 * Markup component that creates a channel miniature only
9 selector: 'my-channel-miniature-markup',
10 templateUrl: 'channel-miniature-markup.component.html',
11 styleUrls: [ 'channel-miniature-markup.component.scss' ]
13 export class ChannelMiniatureMarkupComponent implements OnInit {
19 private channelService: VideoChannelService
23 this.channelService.getVideoChannel(this.name)
24 .subscribe(channel => this.channel = channel)