title: How to display a list of item from server to view via Angular material?
body: <p>I am working on a project, where I have a list of items present at backend. I have to get that list items via get request and display to my view as a list items. (User can select multiple entries from the list). I got the list items from server to my angular controller. For this project I am using Angular material design. How can I display these list items from controller to view via angular material element, which is able to select multiple entries from the list?</p>
  
  <p>Here is a code example,</p>
  
  <pre><code>angular.module('myApp').factory('searchService', function($log, $http) {
  
      return {
  
          getTaxonomie: function() {
              var promise = $http.get("http://espri-host179:8586/callrec/getTaxonomy")
                  .success(function(response) {
                      $log.debug("successfully got Taxonomie");
                      return response;
                      console.log(" i am from service");
                  })
                  .error(function(error) {
                      $log.error("searchService.getTaxonomie error:" + error);
                      return {};
                  });
  
              return promise;
          }
      };
  });
  </code></pre>
  
  <p>I have created a service to get data from server and now i have to add it to the controller and then display to my view. Right now my controller and view are empty because i don't know how to proceed further. </p>
  
  <p>Any help would be appreciated, Thanks.</p>