@{
    ViewBag.Title = "Inventory";
}

<div ng-controller="InventoryListController as vm">
    <h1 class="page-header">
        <i class="fa fa-cubes"></i> @ViewBag.Title
    </h1>
    <div>
        <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.import()">
            <i class="fa fa-file-excel-o"></i> Import
        </a>
        <a class="btn btn-default" href="" ng-click="vm.export()">
            <i class="fa fa-file-excel-o"></i> Export
        </a>
    </div>
    <h4>Current inventory</h4>

    <inventory-list inventories="vm.inventories"></inventory-list>
</div>