title: Using angularjs forEach loops
body: <p>I am getting this type of json in my $scope of angularjs:</p>
  
  <pre><code>$scope.someStuff = {
        "id": 2,
        "service": "bike",
        "min": "22",
        "per": "100",
        "tax": "1",
        "categoryservices": [
          {
            "id": 32,
            "category": {
              "id": 1,
              "name": "software"
            }
          },
          {
            "id": 33,
            "category": {
              "id": 2,
              "name": "hardware"
            }
          },
          {
            "id": 34,
            "category": {
              "id": 3,
              "name": "waterwash"
            }
          }
        ]
      }
  </code></pre>
  
  <p>I want to use angularjs forEach loop and i want to get only category name,</p>
  
  <p>My expected output:</p>
  
  <pre><code>[{"name":"software"}, {"name":"hardware"}, {"name":"waterwash"}]
  </code></pre>