set css from ts file angular code example
Example: angular inline component
> ng generate component <component-name> --inlineTemplate=true --inlineStyle=true
> ng generate component <component-name> --inlineTemplate=true --inlineStyle=true