I\'m trying to create an array holding telephones, i have this code
Use the ng-repeat directive:
ng-repeat
angular.module("app",[]) .controller("ctrl",function($scope){ $scope.count = 3; $scope.telephones = []; }) .filter("range",function() { return (x,n) => Array.from({length:n},(x,index)=>(index)); })
Array length {{telephones}}