Secure implementation of password field. Stores password in a UInt8Array instead of string which can be wiped out securely. Uses key-presses as opposed to input fields.
Standalone code (assuming Angular setup) can be found at this codepen.
Start gulp serve to start the demo page and then open http://localhost:8888.
To compile, gulp compress