I am trying to clone html using AngularJS, I did it by using jQuery but it conflicts with angular so I want make with AngularJS. My code is given below:
function printContent(el){
var restorepage = $('body').html();
var printcontent = $('#' + el).clone();
$('body').empty().html(printcontent);
window.print();
$('body').html(restorepage);
}