title: How to add title attribute value of a span
body: <p>I am using angular js to fetch the data and show inside a span.
  Now I want to use this value as the title value of another span.
  Right Now I am using the code below:</p>
  
  <pre><code>&lt;span style="display: inline-block; width: 160px"&gt;{{activity.ActivityName}}&lt;/span&gt;
  &lt;span class="ui-icon ui-icon-plusthick" style="display: inline-block; cursor: pointer;" ng-click="showActivityInfo(this, activity, goal)" title='&lt;%{{activity.ActivityName}} %&gt;'&gt;&lt;/span&gt;
  </code></pre>
  
  <p>The first line is correct. But when I want to add the title to the 2nd span, Its throwing exception.
  Kindly help.</p>