The hint can be found in this documentation
Ionic comes with ngAnimate and ngSanitize bundled in, but to use other Angular modules you’ll need to include them from the lib/js/angular directory.
ionic.bundle.js already comes bundled with animate module. So, your html file creates conflict when you link in the angularjs animate module.
In your html file, comment away the following lines. This should be enough to solve your problem.
Please note that your other js modules need to be placed in
lib/js. They can be placed in sub-folders in
lib/js. Otherwise, it will work well when testing on desktop browser but fail to work on the smartphone.
- answered 6 years ago
- Gul Hafiz