SimeonC/ngRepeatReorder — pull request #16 by gtczap (2014-11-17 23:42:32+00:00)
Title: Current ng-repeat-reorder implementation breaks html5 table layouts

While using ng-repeat-reorder on a table row `
` element, my table layout was breaking because a div with class name ng-repeat-reorder-parent was automatically be wrapped around the `
` elements. Modern table dom needs nest as follows: `

` >> `
` >> `
`. My solution was to auto-create the div wrapper only if the user has not already assigned this class to an existing element (in my case I would just give `
` that class).