refactor($compile): rename element -> $element

To follow our convention (at least in this file): if it’s
a jqLite/jQuery wrapper than the variable name starts with `$`.