How can I configure the ionic view app to load from the directory I want

I’m using the ionic and frameworks. To test on my device I’m using the ionic view app, which works fine when I’m loading a sample page from the www folder in the ionic directory, but I want to load the index from’s main directory. How can I do this?