title: Uncaught ReferenceError: Ionic is not defined for Ionic Push
body: <p>I'm trying to add Ionic.io Push to my application but its throwing Ionic is not defined</p>
  
  <pre><code>ReferenceError: Ionic is not defined
  var push = new Ionic.Push({
  </code></pre>
  
  <p>Everything is working fine except this undefined error, I've run this command to update lib but nothing happen, bundle version is * Ionic, v1.1.0</p>
  
  <pre><code>ionic lib update
  </code></pre>
  
  <p>My app.js</p>
  
  <pre><code>angular.module('TestApp', ['ionic','ionic.service.core',
                              'ionic.service.push',
                              'lavoApp.controllers',
                              'lavoApp.services','ngCordova'])
  .run(function($ionicPlatform,$rootScope,$location,$timeout,$anchorScroll,$state,$ionicHistory,$cordovaPush) {
  
      $ionicPlatform.ready(function() {
  
          var push = new Ionic.Push({
            "debug": true
          });
  
          push.register(function(token) {
            console.log("Device token:",token.token);
          });
  </code></pre>