import { Component , OnInit , Input } from '@angular/core' ; @ Component ( { selector : 'progress-bar' , templateUrl : './progress-bar.component.html' , styleUrls : [ './progress-bar.component.scss' ] } ) export class ProgressBarComponent implements OnInit { @ Input ( ) value : number = null ; @ Input ( ) color : string = '' ; constructor ( ) { } ngOnInit ( ) { } }