Example app demonstrating how and when to use angular.copy()