I am new to Angular JS and I am in a need to use restangular POST of form data in json format. Also I am new to the POST functionalities, can anyone tell me how I can do it
In Restangular
posts should be done to collections not elements.
In your case POST should be made like this;
$scope.user = {email :"", password: "", confpass: ""};
Then make POST request like;
Restangular.all('data.json/:user').post("users", $scope.user);
Reference;
https://github.com/mgonto/restangular#element-methods