title: Integration of frontend(AngularJs) and backend(NodeJS) error
body: <p>Angular code when run on json-server works fine, that is, the data from dishes array of db.json gets served. However, after integration with NodeJS, the data isn't getting served(from MongoDB to frontend). I am pretty sure that both the codes are correct and compatible with each other, as the same code used to work fine on my previous machine. Now, abruptly, even the code on that machine shows the same problem. On the machine on which the code was working, I had disconnected the MongoDB database, without stopping the express server code, whence the things got how they are now.</p>
  
  <p>The integration problem is consistent on my other machine as well, on which I found out about the problem.</p>
  
  <p>While checking the code on browser's console, "ng-src"(and probably other functionalities too) wasn't visible, if that gives a hint.</p>
  
  <p>Following is my code:-
  View(AngularJS):-</p>
  
  <pre><code>&lt;div ng-controller="HomeController"&gt;
  &lt;div class="row"&gt;
      &lt;div class="col-xs-12 col-sm-offset-1 col-sm-3"&gt;
          &lt;div class="media"&gt;
                  &lt;div class="media-top media-middle"&gt;
                      &lt;a ui-sref="#"&gt;
                          &lt;img class="media-object img-thumbnail" ng-src="{{dish.image}}" alt="MENU" &gt;
                      &lt;/a&gt;
                      &lt;div class="media-body"&gt;
                          &lt;h2 class="media-heading" style="color:red"&gt;This is Hot/Featured&lt;/h2&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Controller(AngularJS):-</p>
  
  <pre><code>.controller('HomeController', ['$scope', 'menuFactory', function($scope, menuFactory) {
      menuFactory.getDishes().query(
          function(response) {
              var dishes = response;
              $scope.dish= dishes[0];
          },
          function(response) {
              $scope.message='Error' + response.status+ " " + response.statusText; 
          });
  }])
  .controller('HomeController', ['$scope', 'menuFactory', function($scope, menuFactory) {
      menuFactory.getDishes().query(
          function(response) {
              var dishes = response;
              $scope.dish= dishes[0];
          },
          function(response) {
              $scope.message='Error' + response.status+ " " + response.statusText; 
          });
  }])
  </code></pre>
  
  <p>Service(AngularJS):-</p>
  
  <pre><code>.controller('HomeController', ['$scope', 'menuFactory', function($scope, menuFactory) {
      menuFactory.getDishes().query(
          function(response) {
              var dishes = response;
              $scope.dish= dishes[0];
          },
          function(response) {
              $scope.message='Error' + response.status+ " " + response.statusText; 
          });
  }])
  .controller('HomeController', ['$scope', 'menuFactory', function($scope, menuFactory) {
      menuFactory.getDishes().query(
          function(response) {
              var dishes = response;
              $scope.dish= dishes[0];
          },
          function(response) {
              $scope.message='Error' + response.status+ " " + response.statusText; 
          });
  }])
  </code></pre>
  
  <p>Somebody please help me.</p>
  
  <p>Thank you.</p>