本文实例讲述了AngularJS实时获取并显示密码的方法。分享给大家供大家参考,具体如下:
1、设计源码
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title>www.jb51.net - AngularJS获取密码</title>
[removed][removed]
</head>
<body>
<div xss=removed>
<p>密码:<input type=password ng-model=password ma