Reimplemented registration page with AngularJS.