angular def fix