Hi I have JSONObject like below :

```
$scope.controls = {"fields":[{"id":1,"name":"Sales Figures 2017","area":"sales","value":"1800"},{"id":2,"name":"Are you on commission","area":"support","value":"Yes"}]}

```

I am trying to loop and display result like below but only need "name" and "value" values.

Output to be like 

1. Sales Figures 2017 : 1800
2. Are you on commission : Yes

Below is what I have done to get only the key and the value but it is not displaying anything.

```
<div ng-repeat="key in controls"> 
   {{key.name}} : {{key.value}}
</div>

```