This issue tracker is for Bug Reports and Feature Requests only.
Please direct requests for help to StackOverflow.
See http://bit.ly/UIR-SOF for details.
This is a (check one box):
[✔] Bug Report
[ ] Feature Request
[ ] General Query
My version of UI-Router is: v1.0.24
Bug Report
Current Behavior:
Have seen the guide
and want to resolve some data using ui-router resolve to my component by binding it.
The function returns an array successfully via console.log only but returning an undefined value if not. It seems that the object inside resolve is not registered.
Expected Behavior:
Return the data.
Link to Plunker or stackblitz that reproduces the issue:
This issue tracker is for Bug Reports and Feature Requests only.
Please direct requests for help to StackOverflow. See http://bit.ly/UIR-SOF for details.
This is a (check one box):
My version of UI-Router is: v1.0.24
Bug Report
Current Behavior:
Have seen the guide and want to resolve some data using ui-router resolve to my component by binding it. The function returns an array successfully via console.log only but returning an undefined value if not. It seems that the object inside resolve is not registered.
Expected Behavior:
Return the data.
Link to Plunker or stackblitz that reproduces the issue:
resolve : { people : function(gradesService,$transition$){ return gradesService.byScheduleDetails($transition$.params().schedule_detail_id).then(data => { return data; //return console.log(data); }); } }
//component bindings: {people: '&'},
Feature Request
(type feature request here)
General Query
Please direct general implementation questions to StackOverflow: http://stackoverflow.com/questions/ask?tags=angularjs,angular-ui-router
Please review the Sample Application which highlights common approaches: https://github.com/ui-router/sample-app-angularjs
[ ] I have already asked my question on StackOverflow and nobody could answer the question
[ ✔ ]I have already reviewed the sample application for examples of common approaches
[ ✔ ] I believe my question can only be answered by the UI-Router maintainers
(type general query here)