The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

ronatartifact (5) [Avatar] Offline
#1
I just downloaded version 7 of the book and Chapter 2 is still not fixed.


Listing 2.2 and 2.6 are titled "app.html"


It still does not run as written

index.html should be

<html ng-app="Angello">

<head>

<meta charset="ISO-8859-1">

<title>Angello</title>

<script src="http://ajax.googleapis.com/ajax/libs/jquery <br /> /1.9.1/jquery.min.js"></script>

<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.min.js"></script>

<script type="text/javascript" src="app.js"></script>

</head>

<body>

<div ng-controller="MainCtrl">

<div class="span4 sidebar-content">

<h2>Stories</h2>

<div class="story" ng-repeat="story in stories">

<h4>{{story.title}}</h4>

<p>{{story.description}}</p>

</div>

</div>

</div>

</body>

</html>


Listing 2.5 has lost the first line


var myModule = angular.module('Angello',[]);

myModule.controller('MainCtrl', function($scope){

$scope.stories =[

{title:'Story 00', description:'Description pending.'},

{title:'Story 01', description:'Description pending.'},

{title:'Story 02', description:'Description pending.'},

{title:'Story 03', description:'Description pending.'},

{title:'Story 04', description:'Description pending.'},

{title:'Story 05', description:'Description pending.'},

];

});


If one fixes all of these things, the page does not display as shown in figure 2.2 since, the author has failed to mention the css file or add a link to it and has not included the codefor the css to produce 2.2.

Message was edited by:
ronatartifact

Message was edited by:
ronatartifact

Message was edited by:
ronatartifact

Message was edited by:
ronatartifact

Message was edited by:
ronatartifact

Message was edited by:
ronatartifact
jabrantes (5) [Avatar] Offline
#2
I have the version 8 and the problem continues.

The browser render only:

Stories