title: Use angular material to make a popup
body: <p>I have the following code that opens up a pop up and displays information returned by the function //showDetails(Data.path)// when we click on the icon. </p>
  
  <pre><code>  &lt;a ng-show="Data.path" ng-click="showDetails(Data.path)"&gt;
  
        &lt;ng-md-icon icon="info" style="fill: green" size="15"&gt;&lt;/ng-md-icon&gt;
   &lt;/a&gt; 
  </code></pre>
  
  <p>I want the data to appear in a md-dialog modal window. Is there an easy way to do that ? </p>