title: AngularJS - Simple $scope console.log() returns undefined
body: <p>I'm trying to make a simple <code>console.log()</code> from this $scope:</p>
  
  <pre><code>&lt;div ng-controller="CustomerController" id="customer-block"&gt;
  
    &lt;h3&gt;Customer Information&lt;/h3&gt;
  
    &lt;div class="col-md-4"&gt;
        &lt;label&gt;Address 1:&lt;/label&gt;
        &lt;input type="text" ng-model="customer.address1" class="form-content"
          id="customer-address1" /&gt;
      &lt;/div&gt;
  
      &lt;div class="col-md-4"&gt;
        &lt;label&gt;Address 2:&lt;/label&gt;
        &lt;input type="text" ng-model="customer.address2" class="form-content"
          id="customer-address2" /&gt;
      &lt;/div&gt;
  
      &lt;div class="col-md-4"&gt;
        &lt;label&gt;City&lt;/label&gt;
        &lt;input type="text" ng-model="customer.city" class="form-content"
          id="customer-city" /&gt;
      &lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>This is my javascript file:</p>
  
  <pre><code>lima3app.controller("CustomerController", function($scope){
  
    console.log($scope.customer);
  
  });
  </code></pre>
  
  <p>But the log returns me <strong>undefined</strong>. What's wrong with that?</p>
  
  <p>This is the plunkr: <a href="http://plnkr.co/edit/MU2i46o03bs22Jwh6QIe" rel="noreferrer">http://plnkr.co/edit/MU2i46o03bs22Jwh6QIe</a></p>