5. Filters II

Trying to figure out how to add a property to $scope.product

$scope.title = ‘This Month’s Bestsellers’;
$scope.promo = ‘The most popular books this month.’;
$scope.product = {
name: ‘The Book of Trees’,
price: 19
}
}]);

same problem :frowning: still don’t know how to add

you can do like this:
{
name: ‘The Book of Trees’,
price: 19,
pubdate: new Date(‘2014’, ‘03’, ‘08’)
};

2 Likes

Ahh, may just found it. Thanks.

Yeah. :sunglasses: lmao