Jslint setup for angular style guide for john papa is not working
<p><a href="https://github.com/johnpapa/angular-styleguide#function-declarations-to-hide-implementation-details" rel="nofollow">https://github.com/johnpapa/angular-styleguide#function-declarations-to-hide-implementation-details</a> john gave his styleguide on angular its superb but the problem here is when I turn on the linter it shows me error of out of scope I cannot find any right way to deal with it. I cannot globally turn off out of scope.</p>

<pre><code>(function () {
        'use strict';
        angular.module('TimeSheetApp.Profile', [])
        .controller('ProfileController', ['$scope', '$log', ProfileController]);

        function ProfileController($scope, $log) {
        $log.log("ProfileController loaded!");
        }
}());
</code></pre>

<p>And the linters output is </p>

<p>#1 'ProfileController' is out of scope.
    .controller('ProfileController', ['$scope', '$log', ProfileController]); // Line 6, Pos 61
 #2 Unused '$scope'.
    function ProfileController($scope, $log) { // Line 8, Pos 32</p>