Using AngularJS directive for password comparison.