Мне нужно очистить входные данные, которые пользователь написал после нажатия кнопки «Отправить».
я не знаю, какой код мне нужно вставить в мой скрипт, чтобы очистить их
<p>
<input type="text" placeholder="name" ng-model="person.name">
</p>
<p>last name: <input type="text" placeholder="last name" ng-model="person.Lname"></p>
<p>phone number: <input type="text" placeholder="number" ng-model="person.number"></p>
<button type="submit" ng-click="sabt()">submit</button>
<table class="table">
<tr>
<th>name</th>
<th>last name</th>
<th>phone number</th>
</tr>
<tr ng-repeat="x in list">
<td>{{x.name}}</td>
<td>{{x.Lname}}</td>
<td>{{x.number}}</td>
</tr>
</table>
var app = angular.module("myApp",[]);
app.controller("myCtrl",function($scope){
$scope.list=[];
$scope.person={};
$scope.sabt = function(){
$scope.list.push($scope.person);
}
});