Services and directives that handle jQuery UI functionality within AngularJS