You can use angular.copy({},yourform) to copy empty array to your form object as below
$scope.resetForm = function(form) {
angular.copy({}, form);
}
Html
<form>
<input type="text" ng-model="myForm.myName" />
<input type="text" ng-model="myForm.adress" />
<input type="button" value="reset" ng-click="resetForm(myForm)" />
</form>
Working fiddle
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…