title: Plucking Multiple Properties
body: <p>I am trying to create an array from an object in AngularJS to use for ui-bootstrap's typeahead.</p>
  
  <p>I am able to pluck a single value out of the object ('Batman') but I need to be able to combine several properties to create a new array element ('Batman (Wayne, Bruce)). I tried <code>$scope.heroList = _.pluck($scope.heroes, 'name' + '(' + 'lname' + ', ' + 'fname' + ')' );</code> but got all nulls.</p>
  
  <p>Here is a <a href="http://plnkr.co/edit/mAY4PsF1LS8xDynjKPl7?p=preview" rel="nofollow">plunker</a>.</p>
  
  <p>I need a final array that looks like this:</p>
  
  <pre><code>$scope.heroList = ['Batman (Wayne, Bruce]', 'Daredevil (Murdoch, Jack'), ... ];
  </code></pre>
  
  <p>Here is my javascript:</p>
  
  <pre><code>var app = angular.module('app',[]);
  
  app.controller('MainController', function($scope){
  
    $scope.heroes = [
      {
        id: 1,
        name: 'Iron Man',
        fname: 'Tony',
        lname: 'Stark',
        location: 'Stark Tower',
        comic: 'Marvel'
      },
      {
        id: 2,
        name: 'Batman',
        fname: 'Bruce',
        lname: 'Wayne',
        location: 'Bat Cave',
        comic: 'DC'
      },
      {
        id: 3,
        name: 'Superman',
        fname: 'Clark',
        lname: 'Kent',
        location: 'Metroplis',
        comic: 'DC'
      },
      {
        id: 1,
        name: 'Daredevil',
        fname: 'Jack',
        lname: 'Murdock',
        location: 'Court Room',
        comic: 'Marvel'
      },
      {
        id: 5,
        name: 'Flash',
        fname: 'Barry',
        lname: 'Allen',
        location: 'Speedline',
        comic: 'DC'
      },
      {
        id: 6,
        name: 'Hulk',
        fname: 'Bruce',
        lname: 'Banner',
        location: 'Labratory',
        comic: 'Marvel'
      },
      {
        id: 7,
        name: 'Hawkeye',
        fname: 'Clint',
        lname: 'Barton',
        location: 'Nest',
        comic: 'Marvel'
      },
      {
        id: 8,
        name: 'Thor',
        fname: 'Donald',
        lname: 'Blake',
        location: 'Asgard',
        comic: 'Marvel'
      }
    ];
  
    $scope.heroList = _.pluck($scope.heroes, 'name');
    //$scope.heroList = _.pluck($scope.heroes, 'name' + '(' + 'lname' + ', ' + 'fname' + ')' );
  
  }); // end MainController
  </code></pre>