title: $scope and VM are undefined In console - Why?
body: <p>I'm using Angualr 1.1.x - Inside all my controllers I am doing am using the key word this that I use to store all my data and access it in the html file.</p>
  
  <pre><code>var vm = this;
  </code></pre>
  
  <p>Then inside my HTML views I am delearing my controllers like this:</p>
  
  <pre><code>&lt;div ng-controller="ControllerName as vm"&gt;
  </code></pre>
  
  <p>But I have been wondering why when I call </p>
  
  <p>$scope or vm in the console it turns out to be undifined.</p>
  
  <p>Can anyone explain this to me? </p>