ControllerAs: added support for controllerAs with function variables instead of strings