title: Angular4 how to find specific value from an array
body: <p>I am using Components and service
  Component :</p>
  
  <pre><code>servers:{Name : string , Id:number }[]=[];
  
  ngOnInit() {
      this.Id =   this.route.snapshot.params['id'];
  }
  </code></pre>
  
  <p>Service :</p>
  
  <pre><code>server_detail=[{Name : 'production',Id    : 1},
                 {Name :'Attendance', Id    : 2}];
  </code></pre>
  
  <p>I am getting Id from the route and want to fetch server name corresponding to that server Id.</p>