angular / batarang

AngularJS WebInspector Extension for Chrome
MIT License
2.43k stars 338 forks source link

For https://github.com/angular/batarang/issues/84 #272

Closed nhuttrung closed 8 years ago

nhuttrung commented 8 years ago

There are two options for developers show their scope description in Batarang scope tree:

  1. 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.
  2. Setting scope description by code. And I propose to use $description property.
SomeKittens commented 8 years ago

Thanks! Glad to have PR interest.

Two comments:

SomeKittens commented 8 years ago

No response, closing.