angular.copy fix