title: why Httpclient not working in angular 5?
body: <p>I am trying to get data from the server and show in <code>dropdown</code> .but I am getting an error in while fetching data from the server.
  here is my code
  <a href="https://stackblitz.com/edit/angular-xsydti" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-xsydti</a></p>
  
  <pre><code> ngOnInit(){
      console.log('init')
     this.dropdownService.getBankData().subscribe((res)=&gt;{
       console.log(res);
     })
    }
  </code></pre>
  
  <p><strong>service code</strong></p>
  
  <pre><code>getBankData(){
     return this.http.get&lt;DropDownModel[]&gt;(`{this.DOMAIN_URL}`)
    }
  </code></pre>