(function(){
  var newsFeedApp = angular.module('newsFeedApp', []);
  
  newsFeedApp.controller('NewsController', ['$http', function($http) {
    var newsController = this;
    newsController.newsFeed = [];
    
    $http.get('newsFeed.json').success(function(news){
      newsController.newsFeed = news;
    });
  }]);
})();

(function(){
  var newsFeedApp = angular.module('newsFeedApp', []);
  
  newsFeedApp.controller('NewsController', ['$scope', '$http', function($scope, $http) {
    $scope.newsFeed = [];
    $http.get('newsFeed.json').success(function(news){
      $scope.newsFeed = news;
    });
  }]);
})();

Add to controller and code clean up
Add  to controller and code clean up
