title: Angular JS : Unknown Provider
body: <p>I am having issues trying to minify my Angular app. The error I am receiving is: </p>
  
  <pre><code>Error: [$injector:unpr] Unknown provider: $scope, dataServiceProvider &lt;- $scope, dataService
  </code></pre>
  
  <p>My App:</p>
  
  <pre><code>angular.module('Forms', [
  'ngRoute',
  'Forms.Services',
  'Forms.Directives',
  'Forms.Controllers'
  ])
  </code></pre>
  
  <p>My Service is:</p>
  
  <pre><code>angular.module('Forms.Services', []).
  service('dataService', ['$http', function ($http) {
      this.getData = function(callback) {
          $http.get('forms.json').success(callback);
      }
  }]);`
  </code></pre>
  
  <p>My Controller is:</p>
  
  <pre><code>angular.module('Forms.Controllers', []).
  controller('FormController', ['$scope, dataService', function ($scope, dataService) {
  
      dataService.getData(function(results) {
          $scope.data = results;
      });
  
  }])
  </code></pre>
  
  <p>It is working fine without the Array notation but as you know it will not minify.</p>