Create `ag-create-button` directive.
Create shared helper for compiling templates for directives.