'use strict';

angular.module('copayApp.controllers').controller('notificationsController', function($scope, $state, $stateParams, profileService) {

  $scope.walletId = $stateParams.walletId;
  $scope.allowNotif = function() {
    profileService.pushNotificationsInit();
    $state.go('onboarding.backupRequest', {
      walletId: $scope.walletId
    });
  }

});
