trigger is not defined in angular!