diff --git a/src/angular-datatables.renderer.js b/src/angular-datatables.renderer.js index 55d8502b3..84ab6c34a 100644 --- a/src/angular-datatables.renderer.js +++ b/src/angular-datatables.renderer.js @@ -53,7 +53,7 @@ expression = $elem.find('tbody').html(), // Find the resources from the comment displayed by angular in the DOM // This regexp is inspired by the one used in the "ngRepeat" directive - match = expression.match(/^\s*.+\s+in\s+(\S*)\s*/), + match = expression.match(/^\s*.+?\s+in\s+(\S*)\s*/), ngRepeatAttr = match[1]; if (!match) {