client/src/app/shared/shared-video/video-views-counter.component.ts
import { Component, Input } from '@angular/core'
import { NumberFormatterPipe } from '../shared-main/common/number-formatter.pipe'
import { NgIf } from '@angular/common'
import { Video } from '../shared-main/video/video.model'
@Component({
selector: 'my-video-views-counter',
styleUrls: [ './video-views-counter.component.scss' ],
templateUrl: './video-views-counter.component.html',
standalone: true,
imports: [ NgIf, NumberFormatterPipe ]
})
export class VideoViewsCounterComponent {
@Input() video: Video
}