I don't know if this has been asked before, a Google search does not yield my any similar results. So if this is a known issue I would appreciate anyone who can point me to any historic discussions.
This is my SO post of the same queston: http://stackoverflow.com/questions/24809965/extra-space-in-directive-attributes-in-html-template This is the jsFiddle: http://jsfiddle.net/EEpv2/2/ Basically, when directive attributes are bound with parent scope attribute of the same name, there is extra trailing space. If they are bound with different names, there are no trailing spaces. This issue is tested with AngularJS 1.3 as in the jsFiddle and AngularJS 1.2 as one of the commenter did. The problem is particularly troublesome when I am trying to apply CSS rules for the custom attributes. Does anyone know if this is an issue of AngularJS? -- 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.
