Inheritance is a very powerful feature of object-oriented programming, and is also a fundamental concept when using JavaScript frameworks. Using a Backbone controller or an Angular 1 controller within the framework relies on certain characteristics or functions being available. We have seen, however, that each framework implements inheritance in a different way.
As JavaScript (prior to EC6) did not have the concept of inheritance, each of these older frameworks needed to find a way to implement it. In Backbone, this inheritance implementation is via the extend function of each Backbone object. As we have seen, the TypeScript extends keyword follows a similar implementation to Backbone, allowing the framework and language to dovetail each other.
Angular 1, on the other hand, uses its own implementation of inheritance, and defines functions...