AngularJS supports .clone() jQuery functionality. Here in below examples we can see how to clone element .

Steps to clone an element:

  1. Get angular element of html element
  2. Use .clone() method to clone element
var myEl = angular.element( document.querySelector( '#divID' ) );
myEl.clone();

0 comments:

Blogroll

Follow this blog by Email

Popular Posts