How do I access previous promise results in a .then() chain?
What's with this Strange PHP Global Variable Scope?
When to use self over $this?
What's the correct way to communicate between controllers in AngularJS?
Short Description of Python Scoping Rules
Reference: What is variable scope, which variables are accessible from where and what are “undefined variable” errors?
var self = this?
Using global variables in a function other than the one that created them
How do I pass the this context to a function?