I'd prefer an angular.element wrapper here, so that jQuery is not explicitly required