ryanburnett (5) [Avatar] Offline
#1
On page 22, under the heading "Listing 2.10 STEP 9 app.js" there is an error. The first line of this code should be deleted:

$scope.createStory = function($scope) {
$scope.createStory = function(){
$scope.stories.push({
title:'New Story',
description:'Description pending.'
});
};

...so that it looks like this:

$scope.createStory = function(){
$scope.stories.push({
title:'New Story',
description:'Description pending.'
});
};