@model dynamic

@{
	ViewBag.Title = "Commodity Types";
}

<div ng-controller="InventoryTypeController as vm">
    <h1 class="page-header">
        <i class="fa fa-cube"></i> @ViewBag.Title
    </h1>
    <div class="pull-left">
        <a class="btn btn-default" href="" ng-click="vm.add()"><i class="fa fa-plus-circle"></i> Add</a>
        <a class="btn btn-default" href="" ng-click="vm.export()"><i class="fa fa-file-excel-o"></i> Export</a>
   </div>

    <inventory-type-list inventory-types="vm.inventoryTypes"></inventory-type-list>
</div>