Fix for controllerAs syntax in markers