Added angularjs view structure

Created register view without serious validation but it works now. Fixed
some raw post data request payload issues with php api