How am I supposed to implement multiple select option in angular-material?

angular-material, angularjs, material-design

Solution

Splaktar's answer is correct: Just add multiple to your md-select.

Codepen for working solution: http://codepen.io/ansgar-john/pen/RWPVEO?editors=101

HTML

<div>
  <md-input-container>
    <md-select multiple ng-model="ctrl.likedAnimals" placeholder="please select">
      <md-option ng-repeat="a in ctrl.animals" value="{{a}}">{{a}}</md-option>
    </md-select>
  </md-input-container>
</div>

JS

(function () {
  'use strict';
  angular
      .module('MyApp')
      .controller('AppCtrl', function($scope) {
        this.likedAnimals = ["mouse", "dog"];
        this.animals = ["mouse", "dog", "cat", "bird"];
  });
})();

Code based on Stack Overflow answer: How am I supposed to implement multiple select option in angular-material?

Problem

I have checked the docs and the demos, but alas!! I have not found any reference of implementing the multiple select option like select 2 using angular-material. Could anyone please tell me how to make it work?

Original source