angular
  .module('PLeague')
  .service('NewPlayer', NewPLayer);
 
function NewPLayer($rootScope, $ionicModal) {
  let templateUrl = 'client/templates/new-player.html';
 
  this.showModal = showModal;
  this.hideModal = hideModal;
 
  ////////////
 
  function showModal () {
    this._scope = $rootScope.$new();
 
    $ionicModal.fromTemplateUrl(templateUrl, {
      scope: this._scope
    }).then((modal) => {
      this._modal = modal;
      modal.show();
    });
  }
 
  function hideModal () {
    this._scope.$destroy();
    this._modal.remove();
  }
}
@@ -46,25 +46,25 @@
 layer', NewP
-L
+l
 ayer);%0A %0Afun
@@ -73,17 +73,17 @@
 ion NewP
-L
+l
 ayer($ro
@@ -230,25 +230,8 @@
 ;%0A %0A
-  ////////////%0A %0A
   fu

Fix typo