Ionic application that loads the navigation and states from a JSON structure