remove angular references