{ "module": "entry", "name": "Entries", "icon": "icon-entry", "dependencies": ["travel"], "validations": true, "menus": { "main": [ {"state": "entry.index", "icon": "icon-entry"} ], "card": [ {"state": "entry.card.buy", "icon": "icon-lines"}, {"state": "entry.card.log", "icon": "history"} ] }, "routes": [ { "url": "/entry", "state": "entry", "abstract": true, "component": "vn-entry", "description": "Entries" }, { "url": "/index?q", "state": "entry.index", "component": "vn-entry-index", "description": "Entries" }, { "url": "/:id", "state": "entry.card", "abstract": true, "component": "vn-entry-card" }, { "url": "/summary", "state": "entry.card.summary", "component": "vn-entry-summary", "description": "Summary", "params": { "entry": "$ctrl.entry" } }, { "url" : "/log", "state": "entry.card.log", "component": "vn-entry-log", "description": "Log" }, { "url" : "/buy", "state": "entry.card.buy", "component": "vn-entry-buy", "description": "Buy", "params": { "entry": "$ctrl.entry" } } ] }