Uncaught Error: [$injector:modulerr] Failed to instantiate module starter due to: Error in ionic


#1

Hello to everyone! There is a mistake in ionic application; This error only occurred on devices in the android version lower than 5.2.2; I do not know how I can fix this. Please help me, thank you.

Uncaught SyntaxError: Unexpected token = controllers.js:85
Uncaught Error: [$injector:modulerr] Failed to instantiate module starter due to:
Error: [$injector:modulerr] Failed to instantiate module starter.controllers due to:
Error: [$injector:nomod] Module ‘starter.controllers’ is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.5.3/$injector/nomod?p0=starter.controllers
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:13443:12
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:15409:17
at ensure (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:15333:38)
at module (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:15407:14)
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17899:22
at forEach (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:13696:20)
at loadModules (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17883:5)
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17900:40
at forEach (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:13696:20)
at loadModules (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17883:5)
http://errors.angularjs.org/1.5.3/$injector/modulerr?p0=starter.controllers…%2F%2Fandroid_asset%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A17883%3A5)
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:13443:12
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17922:15
at forEach (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:13696:20)
at loadModules (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17883:5)
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17900:40
at forEach (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:13696:20)
at loadModules (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17883:5)
at createInjector (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:17805:19)
at doBootstrap (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:15085:20)
at bootstrap (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:15106:12)
http://errors.angularjs.org/1.5.3/$injector/modulerr?p0=starter&p1=Error%3A…2F%2Fandroid_asset%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A15106%3A12) ionic.bundle.js:17922


#2

Any idea about this issue ?