I'm new to angular and I have input fields populated with data. But on data change on input field it is not getting reflected in the array present in the scope.
JS
var app = angular.module('plunker',[]);
app.controller('Nav', function($scope) {
$scope.urls = [
"http://google.com",
"http://cnn.com"
];
});
HTML
<body ng-controller="Nav">
{{urls}}
<div ng-repeat="url in urls">
<input type="text" ng-model="url" />
</div>
</body>