Demo app showing how to wrap a jQuery plugin in an angular directive