A directive and validator to integrate the zxcvbn password strength library into your app. Examples of use with both angular appoaches to forms - template driven and reactive.

You would have to be really keen on helping a user choose a password, as the zxcvbn library is pretty big - mainly down to the dictionary it has. Perhaps lazy-load the module so it only has an impact if actually required. I've done that here, although with nothing else in this app aside from the demo, there's no benefit.

If used, implementing zxcvbn server side as well (there are ports in many languages) is recommended.

Usage

{{example}}