I am new to angular js and writing directive to display the password strength.
Here is the fiddle - https://jsfiddle.net/user_123/3hruj8ce/12/
<span data-ng-show='passwordForm.password.$valid && passwordForm.password.$dirty' data-ng-class="strength">
<li class="point"></li >
<li class="point"></li>
<li class="point"></li>
<li class="point"></li>
</span>
I am having trouble updating the colour of li as user starts entering the password.
Any help much appreciated.
Thanks in advance.
UPDATE:
this is the updated fiddle (still not working as expected..) - https://jsfiddle.net/user_123/3hruj8ce/13/