Ionic, ngCordova and bower


#1

I just added the first dependency to my ionic project: ngCordova.

Here is what I did: I opened up bower.json and added a new dev dependency:


{
  "name": "Foo",
  "private": "true",
  "devDependencies": {
    "ionic": "driftyco/ionic-bower#1.0.0-beta.11",
    "ngCordova": "*"
  }
}

But then when I run bower install, inside the bower_components folder, all the ionic dependencies (angular, angular-animante, angular-sanitize, angular-ui-router, collide, ionic) were installed again as well. This told me that I must being using bower + ionic the wrong way.

What is the right way to use handle dependencies through bower inside an ionic app?

Thank you.