title: ember-cli adding dependencies with bower
body: <p>So - I want to have a play with typeahead in an ember app. </p>
  
  <p>I get a cli app up and running then I run </p>
  
  <pre><code>bower install typeahead.js
  </code></pre>
  
  <p>I can see that the code has been put into bower_components. </p>
  
  <p>I then add the following to the brocfile:</p>
  
  <pre><code>/* global require, module */
  
  var EmberApp = require('ember-cli/lib/broccoli/ember-app');
  
  var app = new EmberApp();
  
  // Use `app.import` to add additional libraries to the generated
  // output files.
  //
  // If you need to use different assets in different
  // environments, specify an object as the first parameter. That
  // object's keys should be the environment name and the values
  // should be the asset to use in that environment.
  //
  // If the library that you are including contains AMD or ES6
  // modules that you would like to import into your application
  // please specify an object with the list of modules as keys
  // along with the exports of each module as its value.
  
  app.import('bower_components/typeahead.js/dist/typeahead.bundle.min.js');
  
  module.exports = app.toTree();
  </code></pre>
  
  <p>However it doesn't work - I get </p>
  
  <pre><code>Uncaught ReferenceError: Bloodhound is not defined 
  </code></pre>
  
  <p>From reading the docs - installing with bower and adding the lines in the brocfile should be enough to satisfy it? Am I reading it wrong or is this a bug?</p>
  
  <p>I have created a public GIT repo which shows this issue:</p>
  
  <p><a href="https://github.com/wayne-o/ember-cli-bootstrap">https://github.com/wayne-o/ember-cli-bootstrap</a></p>
  
  <p>All I have done is:</p>
  
  <pre><code>ember new bootstrap-test
  bower install bootstrap
  </code></pre>
  
  <p>And then added:</p>
  
  <pre><code>app.import('bower_components/bootstrap/dist/css/bootstrap.css');
  app.import('bower_components/bootstrap/dist/js/bootstrap.js');
  </code></pre>
  
  <p>to the brockfile...</p>
  
  <p>It hasn't worked...</p>