title: How to retrieve data in view of Laravel 5 framework
body: <p>There are two options to retrieve data in views in Laravel 5.</p>
  
  <ol>
  <li>Transfer from the controller to views </li>
  <li>Use <code>@inject()</code> command in views</li>
  </ol>
  
  <p>I need to transfer data from table to combobox, which one might be better?</p>
  
  <p>Thank you!</p>