Last Updated: February 25, 2016
·
461
· tralles

use chrome console to inspect angular.js lists

beside chrome-plugins you can easy inspect angular-lists by combining two techniques:

angular.element('html').scope()

use angular.element() to get an angular-element and use .scope() to get the scope of an angular-element and use .entities to get for example the list of entities.

console.table

use console.table(list) to display a nice table of elements in your list

console.table(angular.element('html').scope().entities)