Community

Inspecting Attribute-Normalization Within Directives In AngularJS

(Ben Nadel) This is a small but rather important post. I never noticed this before, but the attributes collection, that gets injected into the compile and link functions in an AngularJS directive, contains an “$attr” object. This object maps the normalized attribute names onto the attribute names us

Read More - Register for Free Membership