Fix AngularJS minification problem with the main controller