Was this helpful?
An object can inherit properties from another object, called its prototype. In other words, a prototype is an object from which other objects inherit its properties. Since every object has a prototype, you can imagine a series of objects linked together to form a prototype chain.
You can access the properties defined on the parent scope from the child scope:
A new 'anObj' object is created on the child scope hiding the parent scope property with the same name.
|posted||Sep 07, 2016|
|active||Sep 07, 2016|
|•||Updating a CSS class property in real-time|
|•||Client-side MVC pattern|
|•||How to create pretty URLs in Angular|