title: AngularJS 2 as Frontend and Symfony 3 as backend
body: <p>I will start a new project with angularjs and symfony 2.</p>
  
  <p>I just wanna know if my way, how I will realise it, is good.</p>
  
  <p>The AngularJS frontend would be available over <a href="https://www.example.com" rel="nofollow">https://www.example.com</a> and the backend of symfony would be under <a href="https://api.example.com" rel="nofollow">https://api.example.com</a>.</p>
  
  <p>So I hope that the routing of every framework would not colidate.
  And I have also a available API for the mobile Devices.</p>
  
  <p>Is this a best practice or is it better to use the api under <a href="https://www.example.com/api" rel="nofollow">https://www.example.com/api</a></p>