added validation css
added style.css
validation style
outsourced html and controllers to directives