title: console.log not working inside angular controller
body: <p>Hi i have been trying to get into angular.j. I have tried the following code. But the console.log() not seems to be working. Anything am missing?? like angular concepts or something?</p>
  
  <pre><code>var foodshareModule= angular.module('food',['ui.router','ngResource']);
  
  console.log("Main file getting included");
  
  
  foodshareModule.controller("personController", function($scope) {
      console.log($scope);
      $scope.firstName = "John";
      $scope.lastName = "Doe";
      console.log($scope.firstName);
      console.log($scope.lastName);
  });
  
  foodshareModule.controller('scratchListController', function($scope,$state,Notes){
  
     console.log("working");
  
    $scope.scratchpad =Food.query();
  
    $scope.deleteScratch = function (scratch,flag) {
      if(flag === 0) {                                            //Checks if Bulk delete or single delete
        if(confirm("You Clicked DELETE !! Are you sure ?")) {
        scratch.$delete(function() {                          //Single delete
          window.location.href = 'http://localhost:1337';
        });
        }
      }
      else {                                                      //Bulk delete
        scratch.$delete(function() {
          window.location.href = 'http://localhost:1337';
        });
      }
  
    }
  
    $scope.emptyScratchpad = function () {
      var ask = false;
      if (confirm ("You are about Empty Scratchpad. Sure ????")) {
        ask = true;
      }
      if(ask === true) {
        for (var i = 0; i &lt; $scope.scratchpad.length; i++) {
          $scope.deleteScratch($scope.scratchpad[i],1);
        }
      }
  
    }
  })
  
  
  
  foodshareModule.factory('Food', function($resource) {
    return $resource('http://localhost:1337/Food:id', { id: '@_id' }, {
      update: {
        method: 'PUT'
      }
    });
  });
  </code></pre>
  
  <p>Any help would be appreciated. Thanks in advance.</p>