Accompanied Code This chapter’s boilerplate code is found in the chapter-04 file.
The Components approach to development has become quite popular, with several frameworks embracing its concept. Actually, the notion was conceived and used in JavaScript web development long before Angular, React, and other MV* frameworks were released. Some used the term widget while some used plugins.
With AngularJS (first version of Angular), the directive API was the standard method for creating custom HTML elements, better known as components. These components can be used in ...