Created directive out of toggle password directive