angular def update