How to find the angularJS HTML compile errors?

Hi, I am a beginner of Ionic and AngularJS. Recently, I found that it is really hard to find the reason why sometimes my modification cannot pass angularJS compile, then, my page cannot work as what I expected. Is there any efficient way to find the detail error that cause my changes failed to be compiled by AngularJS HTML compiler? Otherwise I have to guess what’s going on there and it’s really a time consuming work.

Thanks a lot!!!