8/11 Directives need help


#1

I guess I don't really understand what I need to do. Here is my code...

app.controller('MainController',
['$scope', function($scope) {
$scope.title = 'My Own String';
$scope.promo = 'Another String';
$scope.products =
[
{
name: 'The Book of Trees',
price: 19,
pubdate: new Date('2014', '03', '08'),
cover: 'img/the-book-of-trees.jpg'
},
{
name: 'Program or be Programmed',
price: 8,
pubdate: new Date('2013', '08', '01'),
cover: 'img/program-or-be-programmed.jpg'
},
{
name: "Harry Potter and the Sorcerer's Stone",
price: 15,
pubdate: new Date('1998', '08', '01'),
cover: "https://upload.wikimedia.org/wikipedia/en/b/bf/Harry_Potter_and_the_Sorcerer's_Stone.jpg
},
{
name: "Harry Potter and the Chamber of Secret's",
price: 16,
pubdate: new Date('1999', '05', '02'),
cover:"https://upload.wikimedia.org/wikipedia/en/a/a7/Harry_Potter_and_the_Chamber_of_Secrets_%28US_cover%29.jpg"
}
]

}]);


#2

hey you missing a close quote on Sorcere’s Stone wed address for the cover.