Added forms validation and applied some changes to AngularJS scaffolding.