title: AngularJS directive link function not working
body: <p><a href="http://jsfiddle.net/kz26/kH9wg/">http://jsfiddle.net/kz26/kH9wg/</a></p>
  
  <p>I'm playing around with directives in AngularJS and have trying both the shorthand directive style (returning only the link function) and the longhand style (returning all or part of a directive definition object.</p>
  
  <p>Unfortunately, I've only been able to get the directive working (which activates a jQuery popup) using the shorthand way defined in <code>popup2</code>. The longhand <code>popup2</code> directive doesn't seem to work at all, and in particular the <code>link</code> function in my definition object is never called. What do I need to do to make this explicit link declaration to work?</p>