added a function to simplify angular brijj debugging