angularjs copy scope variable code example Example: angular copy var copiedItem = angular.copy(item);