Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'use strict';
- angular.module('app.core')
- .run(function($ionicPlatform, pushWooshFactory) {
- var member = {};
- $ionicPlatform.ready(function() {
- pushWooshFactory.init();
- pushWooshFactory.registerDevice().then(function(result) {
- member.deviceToken = result;
- }, function(err) {
- console.error(err);
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement