NotoriousWebmaster NotoriousWebmaster - 4 months ago 8
AngularJS Question

Angular map file not found

I've just downloaded a fresh copy of angular.min.js, and I'm getting a 404 on, which I'm not including in my code:

<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<script type="text/javascript" src="js/angular.min.js"></script>

The error in Chrome:

GET 404 (Not Found)


Open the angular.min.js file in a text editor. There will be a comment at the end like this:


Delete that and the error will disappear.

A map file facilitates regenerating the minified version of a script based on changes to a non-minified version. Since you won't be making changes to angular.js, you don't need the map.