Task Completed

I was getting API HTTP errors so couldn't test completely the functionality of /createUser and updating user. I am setting global error field to display such errors. As I am not getting any response. 

It took me around 2.5 hours to wrap up this code. This will help you evaluate my skills. For a mega project, I would recommend or prefer to use Restangular.js instead of $http. 

Best Regards,
Asif