Chapter 4, Chapter mismatch in var Authentication = block
In Chapter 4, under the section "Authentication Service", you have the following code block
var Authentication = { getAuthenticatedAccount: getAuthenticatedAccount, isAuthenticated: isAuthenticated, login: login, register: register, setAuthenticatedAccount: setAuthenticatedAccount, unauthenticate: unauthenticate };
Later, in chapter 5, under the heading "Logout: AngularJS Service" you have the following, where setAuthenticatedAccount and getAuthenticatedAccount is now setAuthenticatedUser, getAuthenticatedUser
var Authentication = { getAuthenticatedUser: getAuthenticatedUser, isAuthenticated: isAuthenticated, login: login, logout: logout, register: register, setAuthenticatedUser: setAuthenticatedUser, unauthenticate: unauthenticate };