Hi I just started working with an IIS server for my AngularJS project.
So my problem is that my project loads angular, but not .css files, neither my own nor bootstraps.
I have looked at the big fat web, and I noticed that most solutions is to check static content in Windows features. However that was already ticked for me. And I'm wondering if there are other solutions?
index.html
<!doctype html>
<html ng-app="SimPlannerApp">
<head>
...
<!-- Load Bootstrap CSS library -->
<link type="text/css" href="lib/bootstrap-3.3.5-dist/css/bootstrap.min.css">
<!-- Load AngularJS modules -->
<script src="lib/Angular-1.4.7/angular.min.js"></script>
<script src="lib/Angular-1.4.7/angular-ui-router.min.js"></script>
<!-- Load AngularJS Application -->
<script src="core.js"></script>
<!-- Our CSS -->
<link type="text/css" href="assets/styles/main.css">
<link type="text/css" href="assets/styles/nav.css">
</head>
<body>
...
<!-- This is where page content is inserted to -->
<div ui-view></div>
</body>
</html>
File tree
- assets
- styles
- main.css
- nav.css
- lib
- Angular-1.4.7
- angular.min.js
- angular-ui-router.min.js
- bootstrap-3.3.5-dist
- css
- bootstrap.min.css
- css
- index.html
- core.js
Files loaded to the browser


404 Not Found?.cssextension to treat them astext/css?