title: Underscore js to retrieve data from array
body: <p>I'm assigned a task to get data using underscore js. </p>
  
  <p>This is my JSON :</p>
  
  <pre><code>$scope.myData= {
  "buslist":
  {
      "code":"1",
      "message":"Success",
      "fromStationCode":"71",
      "searchResult": [
          {
              "arrivalTime": "17:00:00",
              "availableSeats": "42",
              "boardingPointDetails": [
                  {
                      "code": "1631",
                      "name": "Koyambedu",
                      "time": "09:30:00"
                  },
                  {
                      "code": "961296",
                      "name": "Nerkundram",
                      "time": "09:45:00"
                  }
              ]
          },
          {
              "arrivalTime": "18:00:00",
              "availableSeats": "32",
              "boardingPointDetails": [
                  {
                      "code": "2084",
                      "name": "Adyar",
                      "time": "09:30:00"
                  },
                  {
                      "code": "961296",
                      "name": "Madurai",
                      "time": "09:45:00"
                  }
               ]
            }
        ]
     }
   }
  </code></pre>
  
  <p>From this I want only "name" field. By doing this :</p>
  
  <pre><code>$scope.bdata = _.pluck($scope.myTest.buslist.searchResult, 'boardingPointDetails');
  </code></pre>
  
  <p>I got all "boardingPointDetails". The result looks like:</p>
  
  <pre><code>              [ [
                  {
                      "code": "2084",
                      "name": "Adyar",
                      "time": "09:30:00"
                  },
                  {
                      "code": "961296",
                      "name": "Madurai",
                      "time": "09:45:00"
                  }
               ],[
                  {
                      "code": "1631",
                      "name": "Koyambedu",
                      "time": "09:30:00"
                  },
                  {
                      "code": "961296",
                      "name": "Nerkundram",
                      "time": "09:45:00"
                  }
              ],[
                   {
                   ... 
                   }
                ]
            ...
             ]
  </code></pre>
  
  <p>Help me to retrieve only "name" from this.</p>