I recently started using JSHint and it is requiring me to use the function form of \"use strict\". Since then, AngularJS throws an error:
\"Error: Argument \'webAddressC
Have you tried writing 'use strict' outside and before (function()
"use strict"; // <-- add it here
(function () {
//"use strict"; <-- remove from here
function webAddressController($scope, $rootScope, web_address_service) {
// Do things
}
}());
My answer is based on the files that I have seen generated by Yeoman