title: Call laravel backend api from angular 2
body: <p>I am developing a website fronted in <code>angular2</code> and an api in laravel with <code>dingo</code>. Now I want to get the data from this api in angular 2. But of course I want to protect the api so that for now only my angular frontend is allowed to get a response from the <code>api</code>.</p>
  
  <p>I searched a lot but can not figure out the best way. Most results in searching use jwt or auth, but with an <code>angular2</code> application where user have to login. In my case no login is required to go to pages with data from the api.</p>
  
  <p>I would appreciate any suggestions or links to interesting tutorials or other questions on this topic.</p>