Whats wrong?


#1

Exercise: Your First App / Workflow:

app.controller('MainController', ['$scope', function($scope) {
$scope.title = 'this is my string';
$scope.promo = 'this is the promo string';
$scope.product = {
name: 'The Book of Trees';
price: 19;
};
}]);

Error:
Oops! The test returned an error. Maybe you have a syntax error, or a typo. See full error.


#2

Should have comma's separating attributes, not semicolons.