Minor changes to examples, more work required on examples and documentation.
Directive implementation modified to use attribute shorthands