Community

AngularJS Code Smell: Defining $scope Methods In Directives

(Ben Nadel) I’ve touched on this idea before, in my AngularJS directive mindset post; but, I’ve seen this happen so many times that I wanted to call it out again, as its own concept. If you define $scope methods inside of your AngularJS directives, you might want to consider this a “code smell.”

Read More - Register for Free Membership