angularjs file update