Added angularjs version of the form