Angular js upgrade