Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
  <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/animate.css/2.0/animate.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.9/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.9/angular-animate.min.js"></script>
<meta charset=utf-8 />
<title>Angular Reset Field</title>
</head>
<body>
    <div ng-controller="FirstCtrl">
    <p>{{firstName}}</p>
    <label>FirstName: <input ng-model="firstName" am-reset-field type="text" /></label>
    <p>{{lastName}}</p>
    <label>LastName: <input ng-model="lastName" am-reset-field type="text" /></label>
  </div>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
amageedpro
0viewers