hi I am trying to upgrade from 0.2.8 to 1.0.0-beta.1 on ui-router and run into this error in any state that uses the 'resolve' property. For example, I get 'Invalid resolve value: "q" errors from the state below
state('myState', {
url: '/myState?filter',
component: 'myComponent',
resolve: ['$q', '$ocLazyLoad', function ($q, $ocLazyLoad) {
var deferred = $q.defer()
.....
}]
})
Can someone point me in the right direction for using 'resolve' in ui-router 1.0 ? The docs pretty much suck.
Thanks!