I have a Cordova application that uses MobileFirst Platform version 8, Ionic version 1.3.1 and AngularJS version 1.5.3. When I run it and bootstrap Angular JS so that the app connects to the MobileFirst Platform first I get the following error:
Error in Success callbackId: WLAuthorizationManagerPlugin561212842 : Error: [$injector:modulerr] Failed to instantiate module ng due to:
TypeError: Cannot set property 'aHrefSanitizationWhitelist' of null
at $$SanitizeUriProvider (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:30845:35)
at new <anonymous> (file:///android_asset/www/plugins/cordova-plugin-mfp/worklight/worklight.js:1079:23)
at Object.instantiate (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:18010:14)
at provider (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17824:36)
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:13735:32
at forEach (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:13705:20)
at Object.provider (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17814:9)
at ngModule (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:15863:16)
at Object.invoke (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17995:19)
at runInvokeQueue (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17888:35)
http://errors.angularjs.org/1.5.3/$injector/modulerr?p0=ng&p1=TypeError%3A%…2F%2Fandroid_asset%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A17888%3A35)
Can someone help me fix this?
I have found a similar question has been asked before, but that was for MobileFirst Platform version 7 and doesn't seem to be solved.
Thanks for the help!