angular cli add class code example
Example: angualr add class to component
@Component({
selector: 'app-your-component',
templateUrl: './your-component.component.html',,
host: {'class': 'your-class'}
})
export class YourComponent implements OnInit {
...
}