supports controllerAs syntax (with a demo)