Don't rely on angular.element === jQuery.  Close #188.