- refactored simple html directive.