Closed dinesh2017 closed 7 years ago
HI,
Did you try with a promise in your service?
Yes i tried. But i'm getting always undefined...
You got typo datshboard in 1 line
$stateProvider.state('app.user-datshboard', {
maybe that is the point?
In your file
this.API.one('isProfile').get('').then((response)=>{
Hope this helps.
I'm submitting a ...
[ ] bug report
Provide information & explanation Hi, I'm struggling with get resolved value from ui-routed into the component controller. Many times i was tried. but always it is showing value is undefined. Here, i'm giving bit of my code.
Got code samples?
router.config.js
UserServices.service.js
}
Now, i'm getting undefined with "OurUser" variable.