title: Getting a "Missing Callback" when trying to call functions in pubnub-angular
body: <p>I'm trying to get a simple chat application running, using PubNub and pubnub-angular.  when I try to call <code>Pubnub.subscribe()</code>, I get a <code>Missing Callback</code>error, referring to line 1 in pubnub.min.js.</p>
  
  <p>Things <em>appear</em> to be set up okay:</p>
  
  <p>app.js:</p>
  
  <pre><code>angular
  .module('pnChatApp', [
      'ngResource',
      'ngRoute',
      'pubnub.angular.service'
  ])
  .config(function($routeProvider) {
      $routeProvider
          .when('/main', {
              templateUrl: 'views/main.html',
              controller: 'MainCtrl',
          })
          .when('/join', {
              templateUrl: 'views/join.html',
              controller: 'JoinCtrl',
          })
          .otherwise({
              redirectTo: '/join'
          });
  });
  </code></pre>
  
  <p>main.js:</p>
  
  <pre><code>   angular.module('pnChatApp')
      .controller('MainCtrl', ['$scope', '$rootScope', '$location', 'Pubnub', function($scope, $rootScope, $location, Pubnub) {
      ...
      Pubnub.subscribe({
       channel: $scope.controlChannel,
      });
  </code></pre>
  
  <p>and, index.html:</p>
  
  <pre><code>&lt;script src="https://cdn.pubnub.com/pubnub.min.js"&gt;&lt;/script&gt;
  &lt;!-- build:js(.) scripts/vendor.js --&gt;
  &lt;!-- bower:js --&gt;
  &lt;script src="bower_components/jquery/dist/jquery.js"&gt;&lt;/script&gt;
  &lt;script src="bower_components/angular/angular.js"&gt;&lt;/script&gt;
  &lt;script src="bower_components/bootstrap/dist/js/bootstrap.js"&gt;&lt;/script&gt;
  &lt;script src="bower_components/angular-resource/angular-resource.js"&gt;&lt;/script&gt;
  &lt;script src="bower_components/angular-route/angular-route.js"&gt;&lt;/script&gt;
  &lt;script src="bower_components/pubnub-angular/dist/pubnub-angular.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>PubNub <em>is</em> getting initialized in another controller, and that happens before I get to this point.</p>
  
  <p>Any thoughts?</p>