properties moved to directive

properties html is moved to a separate directive;