I am building an application to get Json data from a Moodle web service, and using AngularJs to display the data in the app. There are multiple functions on the Moodle webservice, so I need multiple controllers in the Angular app.
This example shows how to get the token from Moodle, store it using jstorage, and display it on the various panes of the single-page mobile app.