bug correction on angular element

the directives passed the raw HTML element to the stateClient instead of
the jqLite version
correction version parameter in core