Angular Dynamic Pages – Jesus Rodriguez & Ward Bell – AngularConnect 2017
AngularConnect is returning to London in 2018. Learn more: https://angularconnect.com Video sponsored by Rangle.io (https://rangle.io) The Angular pages you know are mostly static. They are fixed component trees, fully described by their templates. In Angular the component template and class are inseparable. They are compiled together into a single execution unit during the build. It's hard to imagine an Angular application that generates a runtime custom dashboard or a data-driven questionnaire ... or the free-form pages of Angular's own documentation at angular.io. Can it be done? It is done! In the official, open-source, Angular documentation viewer, each document page is a unique blend of HTML content and Angular components drawn from a widget toolbox. A page can display any of the widgets, in any combination, placed anywhere on the page. The documentation viewer itself has no idea what these pages look like. Learn how we do it and imagine how you can apply these techniques to build dynamic pages in your own application.