update angularjs 3