I'm trying to include a css file using this code :
HTML code:
<html ng-app="a">
<head>
<cssA></cssA>
</head>
<body><script src="app.js"></script></body>
</html>
AngularJS
(function () {
'use strict';
var app = angular.module('a', []),
app
.directive("cssA", function () {
return {
restrict: 'E',
templateUrl: "multiple-css.html"
};
});
}());
multiple-css.html
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https:/maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
How do I please include that html file ?