You can also use `angular.copy` here http://docs.angularjs.org/api/angular.copy