Added "controllerAs" parameter for passing it into ui.bootstrap.modal