Using restmod with ui-router
Here at Platan.us we love ui-router, it makes a great backbone for most angular applications.
One of the ui-router core features is resolve, resolve is an optional map of dependencies which should be injected into the controller. If any of these…