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