adding reset of date jqm widget as directive