Manipulation with forms for AngularJs