Comment on Angular or Backbone: what are startups using?parentComments−evilduck13yFYI, you can prefix all of Angular's HTML additions with data-ng-* attribute. <my-directive data-ng-model="myModel.foo" compact="true"></my-directive>−alanh13yThat’s true for `ng-model` but is it true for parameters passed in to directives?−marknutter13yWhen you write directives you can define the attributes into which you pass parameters however you want, including making them HTML spec compliant.
Comments
FYI, you can prefix all of Angular's HTML additions with data-ng-* attribute.
That’s true for `ng-model` but is it true for parameters passed in to directives?
When you write directives you can define the attributes into which you pass parameters however you want, including making them HTML spec compliant.