update angularjs 1