Check for length of iterElem's parent rather than compare to blank angular.element.