Advanced Directives with Angular JS - Code for the Screencast
This repository is the companion to two screencasts:
Part One examines some of the more advanced features in Angular, specifically Directives and how we can leverage the power of custom elements and attributes to map Domain Specific concepts through HTML, translate those into Value Objects in our Domain, and gain rendered simple HTML output. Also discussed: complexity, creating a DSL with directives, debugging techniques, tips and tricks. This screencast covers:
Part Two continues the examination of some of the advanced features in Part 1. This screencast covers:
If you're interested in some more context prior to watching check out my other angular screencasts and an earlier post on the power of web components as abstractions;
I like to use the npm module serve for running a simple static webserver for projects like this:
npm i -g serve
git clone [email protected]:davemo/advanced-directives-with-angular-js.git
cd advanced-directives-with-angular-js
serve
Some things in the screencast aren't complete and some things could definitely done better. This section is a challenge to you, the reader/watcher to improve the code and level up your knowledge in the process! Try and tackle some of these challenges if you want:
.insertAfter
)