fix(modal): controllerAs not checked

This causes the controller to be added to the scope as a property "undefined"!