Create a Scope Decorator

InstructorTrevor Ewen

Share this video with your friends

Send Tweet

Using Aspect Oriented Programming (AOP) techniques, you can easily decorate AngularJS controller methods to add additional behaviors. This can be useful for handling analytics and other common concerns in a typical application.

Stephen
~ 10 years ago

I'm not sure how to get the sample code running. I see an nginx.conf file in the zip download. Am I expected to run nginx? I don't see Node or Grunt installed either. How do I get it running?

Leonardo
~ 10 years ago

I think the correct would be "fn.apply( this, arguments )" and not "fn.apply( fn, arguments )"