no need to $apply here