src/attribute-directive.js
Function link
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function (scope, element, attrs, ngModelCtrl) {
/**
* Runs the zxcvbn algorithm with the scope variables: "zxPassword", "zxExtras".
* Then assigns the result to "scope.zxResults".