title: How to change the tempateurl on button clcik
body: <p>I want to change the tempateUrl from home.html to customer.html on button click.</p>
  
  <pre><code>first2.directive('mycustomer', function() 
  {
      return {
              restrict: "E",
              replace: 'true',
              template: 'home.html',//want to change this customer.html on button click
            }
  });
  </code></pre>
  
  <p>Is this possible</p>