clickable state
refactor directives for table rows