title: jSLint with Angular causes Unexpected '$scope' error
body: <p>I'm receiving an "Unexpected '$scope'" error when I run jSLint against an Angular based app I am building. </p>
  
  <p>Below is a reduced version of the code that is causing the error.  You can input the code into the <a href="http://jslint.com" rel="nofollow">jslint.com</a> website to reproduce the problem. </p>
  
  <p>I don't understand why the first function declaration (downloadFile) doesn't cause an error but the second does (buildFile). </p>
  
  <pre><code>/*jslint browser: true*/
  /*global angular */
  angular.module('testApp')
      .controller('FileCtrl', ["$scope", function ($scope) {
          "use strict";
          $scope.downloadFile = function () {
              window.location = '/path/to/file';
          }
  
          $scope.buildFile = function () {
  
          }
  }]);
  </code></pre>