Defining a method on a scope.

* http://www.egghead.io/video/Powr9vzqMac