Fix issues

 * Properly handle ng-repeat scope variable name containing dots.
 * Account for tables that do not have collaped borders.