title: Error: [$injector:nomod] when attempting to add 3rd party module to mean app.
body: <p>I'm trying to add this: <a href="https://github.com/kuhnza/angular-google-places-autocomplete" rel="nofollow">https://github.com/kuhnza/angular-google-places-autocomplete</a> module to my mean app. I used bower to install, which included the following example.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html ng-app="example"&gt;
  &lt;head lang="en"&gt;
      &lt;!-- Required dependencies --&gt;
       &lt;script src="https://maps.googleapis.com/maps/api/js?&amp;libraries=places"&gt;&lt;/script&gt;
      &lt;script src="/lib/angular/angular.js"&gt;&lt;/script&gt;
  
      &lt;!-- Google Places Autocomplete directive --&gt;
      &lt;script src="/lib/angular-google-places-autocomplete/src/autocomplete.js"&gt;&lt;/script&gt;
  
      &lt;script&gt;
          angular.module('example', ['google.places'])
  
                  // Setup a basic controller with a scope variable 'place'
                  .controller('MainCtrl', function ($scope) {
                      $scope.place = null;
                  });
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body ng-controller="MainCtrl"&gt;
  &lt;div class="container"&gt;
      &lt;div class="row"&gt;
          &lt;div class="col-md-12"&gt;
              &lt;h1&gt;Basic Usage&lt;/h1&gt;
  
              &lt;form class="form"&gt;
                  &lt;input class="form-control" g-places-autocomplete ng-model="place"/&gt;
              &lt;/form&gt;
  
              &lt;h5&gt;Result:&lt;/h5&gt;
              &lt;pre&gt;{{place | json}}&lt;/pre&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I run my app on localhost and type the url corresponding to the location of the example, everything works fine. But instead, if I copy and paste this code into view.html and follow a link to this file, the code is nonfunctional. Now, if I add 'google.places' to the <code>var applicationModuleVendorDependencies</code> array in config.js, I get the following error.</p>
  
  <pre><code>Uncaught Error: [$injector:modulerr] Failed to instantiate module borowr due to:
  Error: [$injector:modulerr] Failed to instantiate module google.places due to:
  Error: [$injector:nomod] Module 'google.places' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
  </code></pre>
  
  <p>What is the proper way to add 3rd party modules to a mean app?</p>