What's alternative to angular.copy in Angular
<p>How can I copy an object and lose its reference in Angular?</p>

<p>With AngularJS, I can use <code>angular.copy(object)</code>, but I'm getting some error using that in Angular.</p>

<blockquote>
  <p>EXCEPTION: ReferenceError: <code>angular</code> is not defined</p>
</blockquote>