added setData directive to allow setting of arbitrary data- attributes