I\'ve seen that on AngularJS tutorials, that some people declare their controller functions like so:
function FirstController($scrope) {
// do something
You should follow the second example they offer, which uses a string to identify your controller rather than a potentially global function. Use the Array syntax so you can minify your code without worrying about the minifier renaming function parameters.
var myApp = angular.module('myApp');
myApp.controller('GreetingCtrl', ['$scope', function($scope) {
$scope.greeting = 'Hola!';
}]);
Source: http://docs.angularjs.org/guide/controller