Dear authors,
I just purchased your book and realize that it is not yet complete. However, I'm curious as to why there is no mention of the need to include <script src=https://ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js type="text/javascript"></script> (or something equivalent) in the <head></head> or <body></body> sections of the HTML code?
I am new to AngularJS and am accustomed to following along with the author's code examples from other "... in Action" books as they are literally provided in the books. However, after working through the code in chapter 2, the result did not render correctly in my browser as expected. After looking at the example code for chapter 2, I realized that the above <script></script> code was missing, and that it was also necessary for the code to work correctly.
After carefully reviewing chapter 1 and 2, I could not find any discussion of how to download and set up for using AngularJS. Rather, the book simply jumps into code snippets of AngularJS. This seems like an oversight; or perhaps I am missing something.
As mentioned above, I have purchased several other "... in Action" books, and they do provide the necessary background information on how to set up the environment (e.g. JBoss, Android etc.) in preparation for working through the remaining chapters of those books. So, I found it somewhat strange that this essential information is missing in your book.
Thanks,
Dennis
|