Is it possible to apply an external CSS to a component in AngularJS1?
And if so - how?
I could find only examples which apply inline css...
Asked
Active
Viewed 795 times
1 Answers
2
AngularJS component's template is nothing different then a regular HTML template. So including the CSS in one of the standard ways should work.
Inside of the HTML of your template use:
<link rel="stylesheet" type="text/css" href="theme.css">
Where theme.css
will be replaced with the absolute path to your external CSS.

Tome Pejoski
- 1,582
- 2
- 10
- 34