javascript - traval data to different controller in angularjs ionic -


i have array of structure this

val[one][0]="dog", val[one][1]="cat", val[two][0]="john", val[two][1]="doe", val[two][2]="foo", val[three][0]="something" 

first need check if array 1 , 2 or 3 exist or not. , checking length of array. if there 1 available need start val[one][0].then value must passed next 4 views because working on ionic framework.and in fourth page there question "you completed operation on dog" , next question "do want take quiz on [cat](which val[one][1])".if yes button clicked, redirects first page , starts same process taking value cat. after finishig val[one] , have take val[two] , same process repetead value val[two] , val[three]. how can solve problem. can me please?


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -