Make Tablesort work in Internet Explorer 9 by using DOM manipulation rather than .html() for replacing tr content.

Angular tablesort fails hard in Internet Explorer 9 due to a "Invalid target element for this operation" error, originating from the "element.html()" call.

This patch replaces the html() call with a DOM operation which works in older versions of Internet Explorer as well as modern browsers.