NOTE: This is a WebStorm issue, not an angular.js issue.
Screencast of the problem: http://f.cl.ly/items/302s0d1k1i3i1B2p0W09/ws703-angular-not-defined.mp4
Description:
I have the following in my index.html file:
<script src="vendor/js/angular.min.js"></script>
<script src="app/js/scratch.js"></script>
In scratch.js when I reference "angular" I keep getting this "angular is not defined" message from JSHint. How do I make it so angular is seen as defined in this file so JSHint stops complaining about it? Is this a configuration issue? Please advise.
WebStorm v7.0.3 / Mac OSX v10.9.1