How we can use styleUrls and styles in Angular 2?
This information is trending in angularjs 2 interview questions for experienced professionals.
In Angular 2, styles or styleUrls affect the style of template elements. The built-in properties in the component Decorator allow developers to encapsulate styles directly as part of their components.
Both style and styleUrls are arrays, which means that for styles, you can apply many definitions for each position. For styleUrls, you can split up different style rules into different style sheets.