switching to angular1.2