Hi,
I have one TextBox, currently my requirement is that based upon input on textbox display no of rows in table
Ex: if I enter 3 then display 3 empty rows on table
Note: Initially I have blank row with empty columns
Could you please help me
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="~/scripts/angular.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.9/angular.min.js"></script>
<script>
var app = angular.module("myapp", []);
app.controller("myctrl", function ($scope) {
});
</script>
</head>
<body ng-app="myapp" ng-controller="myctrl">
<input type="text" ng-model="txtName" />
</body>
</html>