{ "module": "travel", "name": "Travels", "icon": "local_airport", "validations": true, "dependencies": ["worker"], "menus": { "main": [ {"state": "travel.index", "icon": "local_airport"} ], "card": [ {"state": "travel.card.basicData", "icon": "settings"}, {"state": "travel.card.log", "icon": "history"}, {"state": "travel.card.thermograph", "icon": "icon-thermometer"} ] }, "routes": [ { "url": "/travel", "state": "travel", "abstract": true, "component": "vn-travel", "description": "Travels" }, { "url": "/index?q", "state": "travel.index", "component": "vn-travel-index", "description": "Travels" }, { "url": "/:id", "state": "travel.card", "abstract": true, "component": "vn-travel-card" }, { "url": "/summary", "state": "travel.card.summary", "component": "vn-travel-summary", "description": "Summary", "params": { "travel": "$ctrl.travel" } }, { "url": "/basic-data", "state": "travel.card.basicData", "component": "vn-travel-basic-data", "description": "Basic data", "acl": ["buyer","logistic"], "params": { "travel": "$ctrl.travel" } }, { "url" : "/log", "state": "travel.card.log", "component": "vn-travel-log", "description": "Log" }, { "url": "/create", "state": "travel.create", "component": "vn-travel-create", "description": "New travel" }, { "url" : "/thermograph", "state": "travel.card.thermograph", "component": "vn-travel-thermograph", "description": "Thermographs", "params": { "travel": "$ctrl.travel" }, "acl": ["buyer"] } ] }