You would need some type of action to take place so the code would know that you are done writing the name so for example you can have a button or if it's being done in a form then on the enter key it would trigger the code below.
You will also need to use an ng-repeat to display all the names
HTML
<!-- Enter in name -->
<input type="text" name="name" ng-model='user.name' placeholder="name" ng-required='true'>
<!-- Save name -->
<button ng-click="saveName()">Save Name</button>
<!-- Display names -->
<span ng-repeat="name in names">{{name}}</span>
Angular
$scope.names = [];
$scope.saveName = function() {
$scope.names.push($scope.user.name);
$scope.user.name = '';
};
names will contain all the names that were entered into the input. Then ng-repeat will display all the names in <span> tags.
ng-repeat, I've updated my answer and I believe it does what you are asking.