Angular - resolving route data
In angular 1 resolving data into a route and using them in controllers was really straightforward. Below injecting orders into ordersController. $stateProvider .state('app.orders', { resolve: { .. url: "/orders/{userId}", orders: …
read more ➞