title: Ionic analytics doesn’t work
body: <p>I am following these tutorials
  <a href="http://docs.ionic.io/docs/analytics-from-scratch" rel="nofollow">tutorial1</a> and <a href="http://docs.ionic.io/docs/analytics-install" rel="nofollow">tutorial2</a></p>
  
  <p>and I have done a lot of researching, nothing works =(</p>
  
  <pre><code>angular.module('starter', ['ionic','ngSanitize', 'ionic.service.core', 'ionic.service.analytics'])
  
  .run(function($ionicPlatform,$ionicAnalytics) {
    $ionicPlatform.ready(function() {
  
  $ionicAnalytics.register();
  
  
  // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
  // for form inputs)
   if(window.cordova &amp;&amp; window.cordova.plugins.Keyboard) {
  cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true); }
  if(window.StatusBar) {
   //StatusBar.styleDefault();
  StatusBar.overlaysWebView(true);
  StatusBar.style(1)
  }
  });
  })
  </code></pre>
  
  <p>This is the error:</p>
  
  <pre><code>Uncaught Error: [$injector:modulerr] Failed to instantiate module starter due to:
  Error: [$injector:modulerr] Failed to instantiate module ionic.service.core due to:
  Error: [$injector:nomod] Module 'ionic.service.core' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
  http://errors.angularjs.org/1.4.3/$injector/nomod?p0=ionic.service.core
  </code></pre>