encapsulate jquery mobile widget into angular directives