Alow disabling debug info such as ng-scope, ng-binding classes

This is based on Pete's PR.