One of my company projects uses ionic v1 and I noticed they used Ionic Bower. Except, that the .bowerrc has this:
{
"directory": "www/lib",
"ignoredDependencies": [
"angular",
"angular-animate",
"angular-sanitize",
"angular-ui-router"
]
}
bower.json has: "ionic": "ionic-team/ionic-bower#1.3.4"
in the devDependencies
I checked the lib folder and found that the angular dependencies aren’t there at all yet the code runs angular and the app builds and runs (I noticed they used angular directives throughout the app). How is this happening? I checked the main index.html and found this is the only load that happens (there is no load for angular):
<script src="lib/ionic/js/ionic.bundle.js"></script>
<script src="lib/ionic-native/ionic.native.min.js"></script>