以下のように要素をangular.element()に入れてjqLiteのメソッドを使用する。 var foo = document.getElementById('foo'); var fooElem = angular.element(foo); fooElem.addClass('bar'); ただし、通常のjQueryとは使い方が異なるため以下の3つの点に注意が必要だ。 使用できるメソッドが少ない jqLiteで使用できるメソッドはバージョン1.4の時点では以下の35種類しかない。 addClass() after() append() attr() bind() children() clone() contents() css() data() detach() empty() eq() find() hasClass() html() next() on() off() on