title: call function in angular ui tooltip
body: <p>Have used this code which invokes the user defined function : getTooltipText</p>
  
  <pre><code>&lt;i tooltip=\"{{ getTooltipText(arg1) }}\"&gt; &lt;/i&gt;
  ....
  
  //function definition
  
  $scope.getTooltipText = function(arg1){
  console.log(arg1); // prints undefined
  ....
  return text;
  }
  </code></pre>
  
  <p>But it is not working. Have even tried trinary operator, but no luck!! Any suggestion?</p>