updated angular defs