updated angular script