How to delete user from remote api in AngularJS?

So, I have this bug in my code, where I want to remove a user from the list using a remote api url and I for some reason, when I splice it. It removes from the console.log but not on the view. So, here is the whole code in my plunker below:

https://plnkr.co/edit/sA5slOB8rAVQ5S12JKQT?p=preview

here is the code.

server code

      server.route({
    method: 'PUT',
    path: '/admin/v1/players/{playerId}/confirm',
    config: {
      auth: false,
      validate: {
        params: {
          playerId: Joi.string().guid().required()
        }
      }
    },
    handler: function(req, reply) {
      const p = knex('players')
        .where('user_id', req.params.playerId)
        .update({ is_confirmed: true })
        .then((res) => {
          return { result: res };
        });

      reply(p);
    }
  }); 

app.js

 $scope.confirmedAction = function(person) {


        var index = $scope.userInfo.lawyers.map(function(e) {


            return e.id;


        }).indexOf(person.id);
        $scope.userInfo.lawyers.splice(index, 1);
        console.log($scope.userInfo.lawyers);

        $window.location.href = '#/lawyer';




    }