title: AngularJS with Laravel 5 using NPM
body: <p>I want to use <code>AngularJS</code> with <code>Laravel 5</code>. Since Laravel uses NPM to get <code>gulp</code> and <code>laravel-elixir</code>, my first step was to edit <code>packages.json</code>:</p>
  
  <pre><code>{
    "private": true,
    "devDependencies": {
      "gulp": "^3.8.8",
      "laravel-elixir": "*",
      "angular": "*" // import angular
    }
  }
  </code></pre>
  
  <p>After executing <code>npm install</code> AngularJS is downloaded to the <code>node_modules/angular</code> folder.</p>
  
  <p>Now how do I use <code>angular.js</code> in my HTML?</p>
  
  <p><strong>NOTE:</strong> My host settings are pointing to a <code>public</code> folder.</p>
  
  <p><strong>EDIT:</strong>
  For now I'm using this piece of code in my <code>gulp.js</code> file:</p>
  
  <pre><code>elixir(function(mix) {
      mix.copy('node_modules/angular/*.min.js', 'public/js/');
      mix.copy('node_modules/angular-aria/*.min.js', 'public/js/');
      mix.copy('node_modules/angular-animate/*.min.js', 'public/js/');
  });
  </code></pre>