angular.html mg-controller takes out into separate js file