angular/angular.js — pull request #3647 by pelme (2013-08-18 19:09:30+00:00)
Title: fix($compile): properly handle directive replace for table elements

To work around limitations in jqLite, the template snippet is wrapped in
a

element. This does not work for table elements, since they
cannot be constructed inside a div. This patch takes special to properly
wrap caption, thead, tbody, tfoot, tr, th and td in tags that allow them
to be created.

Closes #1459