var app = angular.module('plunker', []);
app.controller('MainCtrl', function($scope) {
$scope.form={};
$scope.form.instructions = [{}];
$scope.addInstr = function(){
$scope.form.instructions.push({});
};
});
<!DOCTYPE html>
<html ng-app="plunker">
<head>
<meta charset="utf-8" />
<title>AngularJS Plunker</title>
<script>document.write('<base href="' + document.location + '" />');</script>
<link rel="stylesheet" href="style.css" />
<script data-require="angular.js@1.0.x" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js" data-semver="1.0.8"></script>
<script src="app.js"></script>
</head>
<body ng-controller="MainCtrl">
<p>
<ol>
<li ng-repeat="instruction in form.instructions">
<input type="text" ng-model='form.instructions[$index].text'>
</li>
<input type="button" value="+" ng-click="addInstr()">
</ol>
</p>
{{ form | json }}
</body>
</html>
/* Put your css in here */