Hello, i added two new books to $scope and they are showing good with all the date in his correct site in the page,
but when i run the code always take a loooong time to check(my internet is ok) and always send me the error :
e[33mWARN [karma]: e[39mPort 9876 in use

Here is my MainController.js code, i didnt change anything in the index.html :

app.controller(‘MainController’, [’$scope’, function($scope) {
$scope.title = ‘This Month’s Bestsellers’;
$scope.promo = ‘The most popular books this month.’;
$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: “Historia de un fistro de la pradera”,
price: 69,
pubdate: new Date(“2000”, “08”, “01”),
name: “Grandes obras del septimo arte”,
price: 68,
pubdate: new Date(“2001”,“02”,“01”),

RESOLVED, I tried again in mi pc using windows and worked without changing nothing, i was using laptop with linuxMint

1 Like