title: AngularJS - $resource is not defined
body: <p>I'm trying to get a grasp of Angular's ngResource. I've started with a simple code excerpt taken from Angular's documentation:</p>
  
  <pre><code>angular.module("app", ['ngResource'])
  var user = $resource("/REST/user/:id", {userID:'@id'});
  </code></pre>
  
  <p>But when the code is run I check the JS console and I see an error saying:</p>
  
  <blockquote>
    <p>Uncaught ReferenceError: $resource is not defined </p>
  </blockquote>
  
  <p>Yes, I've included the 'angular-resource.js' script. I think I'm omitting something obvious, but I can't deduce what it is. Please help!</p>