{ "module": "item", "name": "Items", "icon": "/static/images/icon_item.png", "validations" : true, "routes": [ { "url": "/item", "state": "item", "abstract": true, "component": "ui-view" }, { "url": "/list", "state": "item.index", "component": "vn-item-list" }, { "url": "/create", "state": "item.create", "component": "vn-item-create" }, { "url": "/:id", "state": "item.card", "abstract": true, "component": "vn-item-card" }, { "url" : "/data", "state": "item.card.data", "component": "vn-item-data", "params": { "item": "$ctrl.item" }, "menu": { "description": "Basic data", "icon": "folder" }, "acl": ["buyer"] }, { "url" : "/tags", "state": "item.card.tags", "component": "vn-item-tags", "params": { "item": "$ctrl.item" }, "menu": { "description": "Tags", "icon": "folder" }, "acl": ["buyer"] }, { "url" : "/tax", "state": "item.card.tax", "component": "vn-item-tax", "menu": { "description": "Tax", "icon": "folder" } }, { "url" : "/history", "state": "item.card.history", "component": "vn-item-history", "params": { "item": "$ctrl.item" }, "menu": { "description": "History", "icon": "folder" } }, { "url" : "/niche", "state": "item.card.niche", "component": "vn-item-niche", "params": { "item": "$ctrl.item" }, "menu": { "description": "Niche", "icon": "folder" }, "acl": ["buyer","replenisher"] }, { "url" : "/botanical", "state": "item.card.botanical", "component": "vn-item-botanical", "params": { "item": "$ctrl.item" }, "menu": { "description": "Botanical", "icon": "folder" }, "acl": ["buyer"] },{ "url" : "/barcode", "state": "item.card.itemBarcode", "component": "vn-item-barcode", "params": { "item": "$ctrl.item" }, "menu": { "description": "Barcode", "icon": "folder" }, "acl": ["buyer","replenisher"] },{ "url" : "/summary", "state": "item.card.summary", "component": "vn-item-summary", "params": { "item": "$ctrl.item" } } ] }