This may sound kinda dumb .. But I have problems understanding if the 'ng-scope' class is inserted only when a new scope is created, or is it something else ?
Example : I have these lines of code linked to a controller :
<button class="btn" ng-click="open()">Open me!</button>
<div ng-show="selected">Selection from a modal: {{ selected }}</div>
In the web console, both have an ng-scope :
<button class="btn ng-scope" ng-click="open()">Open me!</button>
<div ng-show="selected" class="ng-scope ng-binding ng-hide">Selection from a modal: </div>
Even when there is no angular-specific data, like here, it will add an ng-scope :
<div>hello</div>
outputs
<div class="ng-scope">hello</div>
But why ??