Angular Controller called twice


I have a problem using ionic.bundle.js

My controllers are always called twice. I searched and found out that it was maybe that angular is included twice.

My <head> tag contains this.

<script src="/vendor/ionic/js/ionic.bundle.js"></script>
<script src="/components/angular-touch/angular-touch.min.js"></script>
<script src="/components/angular-route/angular-route.min.js"></script>

I wanted to try using my own version of angular, by only including ionic.js, but that doesn’t seem to work.

How to solve this problem ?


My bad.
I had 2 ng-views that were shown at the same time.