updating angularjs app