title: AngularJS do not interpreted XSL in ng-click and ng-show
body: <p>I have a web application where I combine XSL, XML and AngularJS. There is a tree structure and when clicking a leaf, it should appear a field in div tag with the content related to the specific leaf. Below the code.</p>
  
  <p>The tree:</p>
  
  <pre><code> &lt;li&gt;Root   
      &lt;xsl:for-each select="//method[method_phase='Root']"&gt;
           &lt;ul&gt;
              &lt;li&gt;&lt;a ng-click="method.toShow='&lt;xsl:value-of select="method_name"/&gt;Field'"&gt;&lt;xsl:value-of select="method_name"/&gt;&lt;/a&gt;&lt;/li&gt;
           &lt;/ul&gt;
      &lt;/xsl:for-each&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>And the field that should appear when clicking a leaf.</p>
  
  <pre><code> &lt;div ng-show="method.toShow=='&lt;xsl:value-of select="method_name"/&gt;Field'"&gt;
  
      div with content related to the leaf
  
   &lt;/div&gt;
  </code></pre>
  
  <p>The problem by doing this is that it is not interpreted the xsl:value-of in the ng-click and ng-show. The error is the following:</p>
  
  <pre><code>The value of attribute "ng-click" associated with an element type "a" must not contain the '&lt;' character
  </code></pre>
  
  <p>How can I solve that?</p>