SyntaxFix
Write A Post
Hire A Developer
Questions
A solution for AngularJS:
$scope.targetObject = angular.copy($scope.sourceObject)