Directive: using controller rather than link