hi all i am using angularjs i have one object inside some of data now i need to take the count of an a object array here i attached my code help how to do this
$scope.data = {
"label": "Information",
"fields": [{
"name": "name",
"label": "Team Name",
"type": "string",
"config": {}
}]
}
here i want take fields count or length
datacoming from a REST call? Which version of angular? You want to get length from controller or from template?