Conflict Between angular.js and ionic.bundle.js


#1

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?


#2

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


#3

That fixed it, thank you.


#4

thanks i work in my caseā€¦