Conflict Between angular.js and ionic.bundle.js


In my application, I am using ui.bootstrap in addition to ionic.
the following code:

 <script src="lib/ionic/js/angular/angular.js"></script>
 <script src="lib/bootstrap/ui-bootstrap-tpls-0.11.2.js"></script>
 <script src="lib/ionic/js/ionic.bundle.js"></script>

Makes the JS Console issue this warning:

WARNING: Tried to load angular more than once. 

How to solve this issue?


Remove the first line, angular is part of the ionic.bundle.js file.


That fixed it, thank you.


thanks i work in my caseā€¦