title: i am facing issue undefine window.tapstream object in angularjs
body: <p>in phonegap app i am working with tapstream api when i call  tapstream object  in angularjs controller it says object undefine how can i fix that  undefine object 
  in application  it says undefine window.tapstream object </p>
  
  <pre><code>userappControllers.controller('LoginController', ['$scope', '$http', '$location','$rootScope','$cookies', 'translationService',
      function($scope, $http, $location, $rootScope, $cookies,  translationService) {
          window.tapstream.fireEvent('test-event', false);
  }]);
  </code></pre>