Multiple TODO APP in one page with index:"ALL"

hello, i am sorry for you disturb.

i want to use todo app with pattern-matching callback as given example. But i want to use it 2 differant place, because of i write index : “ALL”, it is not working well,
how can i solve this problem.

i need your helps.

thank you