created slider, textfield, and checkbox directives.