diff --git a/src/components/list/list.js b/src/components/list/list.js index 1d6ae1d818b..8cf0e32aff6 100644 --- a/src/components/list/list.js +++ b/src/components/list/list.js @@ -187,7 +187,8 @@ function mdListItemDirective($mdAria, $mdConstant, $timeout) { } function computeProxies() { - if (!$element.children()[0].hasAttribute('ng-click')) { + var children = $element.children(); + if (children.length && !children[0].hasAttribute('ng-click')) { angular.forEach(proxiedTypes, function(type) { angular.forEach($element[0].firstElementChild.querySelectorAll(type), function(child) { proxies.push(child);