updated angular methods