Ionic Analytics - trying to use Ionic-platform-web-client

I am new to Ionic and exploring ionic analytics for my app by following the instructions from http://docs.ionic.io/v1.0/docs/analytics-from-scratch

I issued the following command

   $ ionic add ionic-platform-web-client

I added ‘ionic.service.core’, ‘ionic.service.analytics’ to the following line in app.js as per the instructions

angular.module('starter', ['ionic','ionic.service.core', 'ionic.service.analytics', 'starter.controllers', 'starter.services']) 

When I issue
$ ionic serve
I get an error that the it is not able to find reference for ionic.service.core/ionic.service.analytics.

Do I need to add the following lines to index.html to add the reference?

    <script src="lib/ionic-platform-web-client/src/core/angular.js"></script>
    <script src="lib/ionic-platform-web-client/src/analytics/angular.js"></script>

Please advise on the recommended approach.
Is the bower command supposed to modify the index.html because it did not change in my case.

Bower did not inject ionic.io.bundle reference automatically. I added the script as belowand $ionicAnalytics seemed to work.

    <!-- ionic/angularjs js -->
    <script src="lib/ionic/js/ionic.bundle.js"></script>
    <!-- ionic-analytics -->
    <script src="lib/ionic-platform-web-client/dist/ionic.io.bundle.min.js"></script>