Directives

See the 6.Directives.js file for more comments. Note that in AngularJS, directives are not allowed to be <self-closing elements />

An attribute directive

Click this div

A directive with scoped parameters

A directive which renders a form field, with parameters passed into scope

Directive accepting a passed controller

These two next-button elements each get their text from the passed controller:

NormalStepController

FinalStepController