Angular2 styleUrls not loading external styles
angular
Solution
You need to disable the view encapsulation of the component:
@Component({
styleUrls:["http://url_to_external_styles"],
encapsulation: ViewEncapsulation.None
})
https://angular.io/docs/ts/latest/guide/component-styles.html#!#view-encapsulation
Problem
Working on an angular2 application and had hoped to be able to load different styles for public content and admin content. However it seems Angular ignores styles loaded from an external source ``` @Component({styleUrls:["http://url_to_external_styles"]}) ``` Above code doesn't work as expected, is there any other configuration required for loading styles from external source using full URL? Loading the styles relative to component works 100%, am however more interested in loading from content server.