There are two options for developers show their scope description in Batarang scope tree:
Using attribute.
I propose to use 'ng-batarang' attribute. It works like the ng-app, ng-controller, etc currently supported in Batarang.
Please note that there is NO additional directive required for ng-batarang. The ng-batarang attribute is just be there for Batarang to look up the scope description.
Setting scope description by code.
And I propose to use $description property.
Can you open this as a PR to https://github.com/angular/angular-hint instead of editing dist/hint.js? That's a generated file and will be overwritten. We can cover the code there.
There are two options for developers show their scope description in Batarang scope tree: