{ "module": "ticket", "name": "Tickets", "icon": "icon-ticket", "validations": false, "routes": [ { "url": "/ticket", "state": "ticket", "abstract": true, "component": "ui-view" }, { "url": "/list?q", "state": "ticket.list", "component": "vn-ticket-list" }, { "url": "/create", "state": "ticket.create", "component": "vn-ticket-create" }, { "url": "/:id", "state": "ticket.card", "abstract": true, "component": "vn-ticket-card" }, { "url": "/summary", "state": "ticket.card.summary", "component": "vn-ticket-summary", "params": { "ticket": "$ctrl.ticket" } }, { "url" : "/data", "state": "ticket.card.data", "component": "vn-ticket-data", "params": { "ticket": "$ctrl.ticket" }, "menu": { "description": "Basic data", "icon": "settings" } }, { "url": "/observations", "state": "ticket.card.observations", "component": "vn-ticket-observations", "params": { "ticket": "$ctrl.ticket" }, "menu": { "description": "Notes", "icon": "insert_drive_file" } }, { "url" : "/package", "abstract": true, "state": "ticket.card.package", "component": "ui-view" }, { "url": "/list", "state": "ticket.card.package.list", "component": "vn-ticket-package-list", "params": { "ticket": "$ctrl.ticket" }, "menu": { "description": "Packages", "icon": "icon-bucket" } }, { "url" : "/review", "state": "ticket.card.review", "component": "vn-ticket-review", "params": { "ticket": "$ctrl.ticket" }, "menu": { "description": "Review", "icon": "remove_red_eye" } } ] }