title: how to remove the buttons in angular js confirm dialog popup?
body: <p>I want to remove the buttons in angular material dialog box. </p>
  
  <p>I can't hide using css and jquery because class name is generated by angular js which will hide the buttons in other dialog popups also.</p>
  
  <p>code attached</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>angular.module('app', ['angular.filter', 'ngMaterial', 'ngMessages'] )
  .run(function($rootScope,$mdDialog) {
        $rootScope.showConfirm = function(ev) {
        var confirm = $mdDialog.confirm()
            .title('processing payment')
            .textContent('Please Wait...  we are processing your payment.')
            .ariaLabel('')
            .targetEvent(ev)
            .ok('Conform')
            .cancel('Dont cancel');
            $mdDialog.show(confirm).then(function() {
        $rootScope.status = '';
        }, function() {
        $rootScope.status = '';
        });
        };
      })</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/angular-filter/0.5.8/angular-filter.min.js"&gt;&lt;/script&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-animate.min.js"&gt;&lt;/script&gt;
       &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-messages.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-aria.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdn.gitcdn.link/cdn/angular/bower-material/v1.1.5/angular-material.js"&gt;&lt;/script&gt;
    
    &lt;body&gt;
  &lt;img src="images/bg-02.jpg" class="z-index-4" /&gt;
  
  
  
  &lt;div ng-app="app"&gt;
    &lt;div class="container"&gt;
  &lt;a ng-click="showConfirm($event)" href="javascript:void()"&gt;open dialog&lt;/a&gt;
  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>