angular-pagedown
angular-pagedown copied to clipboard
Fixed the eager dirty state. Fixed the delayed model value received by ng-change. Updated the documentation.
Turns out calling $setViewValue in newElement’s ng-change( the scope.changed() ) would automatically call the user’s own ng-change, no need to do scope.$parent.$eval(attrs.ngChange) by ourselves.
Correct: http://plnkr.co/edit/0vOkOmm9z4yCZY3ATuFp?p=preview