post method submission on AngularJS-Test