Debugging AngularJS on the browser console

preview_player
Показать описание
You can access the element method of the angular library, give it a DOM element and get back its scope — here we are targeting the element $0 which is a reference to the last inspected element on the browser.

Like so:
Рекомендации по теме