fix(modal): controllerAs not checked

This causes the controller to be added to the scope as the property "undefined"!

I blame 79105368b37316c9035345a6b2255d52ed5703c6.