AngularJs Directive for Managing and creating Forms