title: AngularJS - accessing directive scope
body: <p>So, I'm looking to use <code>ui.bootstrap.tooltip</code> to appear when an element in a form is invalid.</p>
  
  <p>I'm using a directive to do this - it's a bit ugly, but it works. Except for one thing - the controller isn't seeing the updated model values due to another scope being created in the directive.</p>
  
  <p>I can get the model value through the form and using <code>$viewValue</code>, but this seems a bit "unclean" to me.</p>
  
  <p>Also, is there a better way to get the "tooltip element", that I'm using <code>elem.parent().children()[2];</code> for? I suppose I could create a <code>&lt;template&gt;</code> in the directive for all this.</p>
  
  <p>The JSFiddle is at: <a href="http://jsfiddle.net/n8vNw/2/" rel="nofollow">http://jsfiddle.net/n8vNw/2/</a></p>