<div ng-controller="SmartRestTemplateDetailsCtrl as $ctrl">

  <c8y-breadcrumbs-set>
    <c8y-breadcrumbs-item
      label="{{ 'CSV preview' | translate }}"
      icon="c8y-smart-rest"
    ></c8y-breadcrumbs-item>
    <c8y-breadcrumbs-item
      label="{{ $ctrl.template.name }}"
      icon="c8y-smart-rest"
    ></c8y-breadcrumbs-item>
    <c8y-breadcrumbs-item
      label="{{ 'SmartREST templates' | translate }}"
      icon="c8y-smart-rest"
      path="#smart-rest-templates"
    ></c8y-breadcrumbs-item>
    <c8y-breadcrumbs-item
      label="{{ 'Device types' | translate }}"
      icon="c8y-device-protocols"
    ></c8y-breadcrumbs-item>
  </c8y-breadcrumbs-set>

  <c8y-smart-rest-csv-previewer
    template="$ctrl.template">
  </c8y-smart-rest-csv-preview>
</div>
