Advertisement
Guest User

Untitled

a guest
May 30th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. 'use strict';
  2.  
  3. angular.module('app.core')
  4. .run(function($ionicPlatform, pushWooshFactory) {
  5. var member = {};
  6. $ionicPlatform.ready(function() {
  7. pushWooshFactory.init();
  8. pushWooshFactory.registerDevice().then(function(result) {
  9. member.deviceToken = result;
  10. }, function(err) {
  11. console.error(err);
  12. });
  13. });
  14. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement