app.controller('MainController', ['$scope', function($scope){
  $scope.book1 = {
    icon: 'img/book1.png',
    name: 'Glass Palace',
    author: 'Amitav Ghosh',
    price: 2.56,
    pubdate: new Date('2010', '04', '16')
  };
  $scope.book2 = {
    icon: 'img/book2.png',
    name: 'Motor Cycle Diaries',
    author: 'Che Guyevara',
    price: 2.32,
    pubdate: new Date('2011', '02', '20')
  };
  $scope.book3 = {
    icon: 'img/book3.png',
    name: 'Sea of Popies',
    author: 'Amitav Ghosh',
    price: 2.20,
    pubdate: new Date('2010', '12', '16')
  };
  $scope.book4 = {
    icon: 'img/book4.png',
    name: 'Seasons of Ghost',
    author: 'Ruskin Bond',
    price: 2.75,
    pubdate: new Date('2011', '10', '19')
  };
}]);

app.controller('MainController', ['$scope', function($scope){
  $scope.book1 = {
    icon: 'img/book1.png',
    name: 'Glass Palace',
    author: 'Amitav Ghosh',
    price: 2.56
  };
  $scope.book2 = {
    icon: 'img/book2.png',
    name: 'Motor Cycle Diaries',
    author: 'Che Guyevara',
    price: 2.32
  };
  $scope.book3 = {
    icon: 'img/book3.png',
    name: 'Sea of Popies',
    author: 'Amitav Ghosh',
    price: 2.20
  };
  $scope.book4 = {
    icon: 'img/book4.png',
    name: 'Seasons of Ghost',
    author: 'Ruskin Bond',
    price: 2.75
  };
}]);

Update MainController.js