title: pass array value from controller to view in laravel
body: <p>i am new to larvel.I tried to pass the variable from controller toview but it did not worked.
  i am getting an error:</p>
  <blockquote>
  <h2>&quot;Whoops, looks like something went wrong.&quot;</h2>
  </blockquote>
  <p>code used in controller:</p>
  <pre><code>public function showWelcome()
  {
  return View::make('hello', array('theLocation' =&gt; 'NYC'));
  }
  </code></pre>
  <p>Code in hello.blade.php:</p>
  <pre><code>&lt;h1 class=&quot;highlight&quot;&gt;Blade has arrived in {{ $theLocation }} .&lt;/h1&gt;
  </code></pre>
  <p>can you tell me is there any syntax error in the above code and is there any possibility of debugging the error??</p>