Multiple Controllers Confusion

I am still learning ionic and angularjs, so I’m a bit confused how to do this. Basically I have json data going to posts.html. I need to have another controller getting json data from a different URL, then that list be 'categories.html" and once one of those categories are clicked, it takes you to the correct posts within that category.