{ "module": "travel", "name": "Travels", "validations": true, "dependencies": ["worker"], "menu": [ {"state": "travel.card.basicData", "icon": "settings"}, {"state": "travel.card.log", "icon": "history"}], "routes": [ { "url": "/travel", "state": "travel", "abstract": true, "component": "ui-view", "description": "Travels" }, { "url": "/index?q", "state": "travel.index", "component": "vn-travel-index", "description": "Travels", "acl": ["developer"] }, { "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" } ] }