I am trying to perform multiple call in angular 2 where 3rd call needs 2nd
and 2nd needs 1st to be completed.
But below code is not working please help
return this.getUserGroups()
.map(this.getUserProps).map(this.thirdfunc)
.subscribe(data => {
/* all data is available here */
console.log("Is Editable ... " + JSON.stringify(data))
});
throws error on http.get for this.getUserProps
Although first one works if i interchange the squence of
this.getUserGroups() (this.getUserProps)
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.