{ "module": "route", "name": "Routes", "icon": "icon-delivery", "validations" : true, "dependencies": ["client", "worker", "ticket"], "menus": { "main": [ {"state": "route.index", "icon": "icon-delivery"} ], "card": [ {"state": "route.card.basicData", "icon": "settings"}, {"state": "route.card.tickets", "icon": "icon-ticket"}, {"state": "route.card.log", "icon": "history"} ] }, "routes": [ { "url": "/route", "state": "route", "abstract": true, "component": "vn-route", "description": "Routes", "acl": ["employee"] }, { "url": "/index?q", "state": "route.index", "component": "vn-route-index", "description": "Routes" }, { "url": "/create", "state": "route.create", "component": "vn-route-create", "description": "New route" }, { "url": "/:id", "state": "route.card", "abstract": true, "component": "vn-route-card" }, { "url": "/summary", "state": "route.card.summary", "component": "vn-route-summary", "description": "Summary", "params": { "route": "$ctrl.route" } }, { "url": "/basic-data", "state": "route.card.basicData", "component": "vn-route-basic-data", "description": "Basic data", "params": { "route": "$ctrl.route" }, "acl": ["delivery"] }, { "url" : "/log", "state": "route.card.log", "component": "vn-route-log", "description": "Log", "acl": ["delivery"] }, { "url": "/tickets", "state": "route.card.tickets", "component": "vn-route-tickets", "description": "Tickets", "params": { "route": "$ctrl.route" }, "acl": ["delivery"] } ] }