Closed
Description
I'm attempting to upgrade ui-router to angular-ui-router#1.0.0-alpha.1
with angular#1.4.7
. Some of our links are throwing errors at the following line:
var resolveCtx = common_1.find($transition$.treeChanges().to, hof_1.propEq('state', vc.viewDecl.$context)).resolveContext;
TypeError: Cannot read property 'resolveContext' of undefined
Best I can tell, routes that have a resolve
option to them ($stateProvider.state('foo',{resolve:{/*...*/}})
) seem to throw this.
Any ideas why common_1.find
would return undefined
when this route used to work in angular-ui-router#0.2.17
?