feat(modal): support alternative controllerAs syntax

Fixes #2242