Currently, I am developing an Ionic2 app and encountered a situation where I need to call a function from a Page. I was wondering if it is possible to use a variable name in the function call. For example:
Original code:
this._userDataService.getGrandQuestionsFromServer(this.passedId, newLevel)
Expected code:
this._userDataService.get`${this.questionModuleName}`QuestionsFromServer(this.passedId, newLevel)