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

I issued the following command

   $ ionic add ionic-platform-web-client

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

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

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

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 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/"></script>