title: AngularJS and resource : Unknown provider: $resourceProvider <- $resource
body: <p>I'm using $resource to show a json list file and wondering why it generates an error message :</p>
  
  <pre><code> Unknown provider: $resourceProvider &lt;- $resource
  </code></pre>
  
  <p>Here's the code : </p>
  
  <p>HTML : </p>
  
  <pre><code> &lt;div ng-app="manage"&gt;
   .....
  
     &lt;div class="widget-content" ng-controller="testCtrl"&gt;
      {{test}}
     &lt;/div&gt;
  </code></pre>
  
  <p>app.js</p>
  
  <pre><code> angular.module('manage',['ngResource']);
  </code></pre>
  
  <p>and controller.js</p>
  
  <pre><code> function testCtrl($scope,$resource) {
     var dataService = $resource('/users/1/test.json');
     $scope.test = dataService.get();
   }
  </code></pre>
  
  <p>Seems it works well on plunkr <a href="http://plnkr.co/edit/bJfJurl6Gtw3qRcn4ViW?p=preview" rel="nofollow">http://plnkr.co/edit/bJfJurl6Gtw3qRcn4ViW?p=preview</a>
  But not on my app. 
  I use exactly same structure.. (even on loading angular and angular-resource files order) </p>
  
  <p>The only differences I can notice are angularJS version (I use 1.0.2 on my app) and of course json file.</p>
  
  <p>What am I doing wrong ?</p>
  
  <p>UPDATE : </p>
  
  <p>I changed angular versions on plunkr. Same on both side now</p>