Problem Description
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.
I am using Visual Studio and Cordova to write the app.
I have come up with a solution for getting the token from Moodle, storing it using jstorage, and displaying it on the various panes of the single-page mobile app.
With thanks to many other StackOverflow answers I have used to arrive at this solution!
(This is one of those "ask your question and answer it yourself" posts - but further suggestions are welcome.)
See also - [Authenticate with Moodle from a mobile app][1]
[1]: https://stackoverflow.com/questions/39290274/authenticate-with-moodle-from-a-mobile-app
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?