WP Json loading template but not index

I have a template/posts.html that is using a controller fetching json data from a wordpress blog. When I do ionic serve and go to the /posts/ it loads fine. When simply refresh my index.html (root), and go to it, it remains blank. Any thoughts?