<template id="alert-dialog-$name.html">
  <ons-alert-dialog id="my-alert-dialog-$name" modifier="rowfooter">
    <div class="alert-dialog-title">Alert</div>
    <div class="alert-dialog-content">
      This dialog was created from a template dialog
    </div>
    <div class="alert-dialog-footer">
      <ons-alert-dialog-button onclick="hideAlertDialog$name()">Cancel</ons-alert-dialog-button>
      <ons-alert-dialog-button onclick="hideAlertDialog$name()">OK</ons-alert-dialog-button>
    </div>
  </ons-alert-dialog>
</template>