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