{ "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", "acl": ["developer"] }, { "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" } }, { "url" : "/tags", "state": "item.card.tags", "component": "vn-item-tags", "params": { "item": "$ctrl.item" }, "menu": { "description": "Tags", "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" } }, { "url" : "/botanical", "state": "item.card.botanical", "component": "vn-item-botanical", "params": { "item": "$ctrl.item" }, "menu": { "description": "Botanical", "icon": "folder" } },{ "url" : "/barcode", "state": "item.card.itemBarcode", "component": "vn-item-barcode", "params": { "item": "$ctrl.item" }, "menu": { "description": "Barcode", "icon": "folder" } },{ "url" : "/summary", "state": "item.card.summary", "component": "vn-item-summary", "params": { "item": "$ctrl.item" } } ] }