updated angular1