4

How to debug a view on angular?
*Clicks on I feel Lucky*
any angular developer :(

How can be possible so many logic on the view that I need a way to debug it.

Just for clarify I am working with legacy code. Single files with thousands of lines wrong idented :(

Comments
  • 2
    Ahh that's a pain in the ass ! I know but hey I got u mate try this in console to know exactly what scope object is containing in that view πŸ‘‰ $($0).scope() use this syntax after doing inspect element and click on any part of view and run this code in console .Voila u have the scope object 😊
Add Comment