A simple way of validating a password for an account sign-up with AngularJS.