JavaScript is a single-threaded, non-blocking, asynchronous and concurrent language, because DOM-tree is not thread-safe.
Scope is the set of rules that determines where and how a variable (identifier) can be looked up.
Objects come in two forms: the declarative(literal) form and the constructed form.
var myObj = { key: value};
var myObj = new Object(); // Object.create(null);myObj.key = value;
When a function is invoked, an execution context is created. This includes information about where the function was called from(call-stack), how the function was invoked(call-site), what parameters were passed and what this reference was bound to.
Dependency injection is a glue that holds every other components together. It has three different level as the followings are shown:
Scope is one of fundamental building blocks in the Angular1.x framework. Its main purposes are the followings: sharing data, broadcasting and listening events, and watching for changes in data. Poking around the source code of the scope assists me in having a…