In my file I have my code:
for(var question in this.current.questionnaireProfil["p2"]){
this.current=this.current.questionnaireProfil["p2"][question];
}
and in my console.log :
this.current.questionnaireProfil ={p1: {…}, p2: {…}, p3: {…}, p4: {…}, p5: {…}, …}
Each time I click on next I'd like to go from p1 to p2, from p2 to p3, etc.