AngularJSThe Self Or This Variable In A Controller
This is an explanation of a common pattern and generally considered best practice that you may see in AngularJS code.
Understanding The Purpose Of The Self Variable
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0