What is the reasoning behind using denormalizing the directive name when 
using it in the html document?

For example, ngBind can be defined in the following formats [1]:

<span ng-bind="name"></span> <br/>
  <span ng:bind="name"></span> <br/>
  <span ng_bind="name"></span> <br/>
  <span data-ng-bind="name"></span> <br/>
  <span x-ng-bind="name"></span> <br/>


Why not also (or only):

 <span ngBind="name"></span> <br/>


Of course one can shout RTFM but this seems like a gotcha from the very 
first line (ngApp vs ng-app)
 


[1]: https://docs.angularjs.org/guide/directive

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to