AngularJs Component - Password Generator