Fix broken minification using angular.module.controller rather than global function