@hpp157
2017-04-04T07:23:55.000000Z
字数 235
阅读 1660
angular宝典
<div ng-app="test" ng-controller="ctrl">
<form action="1.php" method="post">
<input type="text" name="title" ng-model="name">
{{name}}
<input type="submit">
</form>
</div>
input中里面的ng-model写了之后,就不用再写value了