angular how to copy something code example Example: angular copy var copiedItem = angular.copy(item);