spring-guides / tut-spring-security-and-angular-js

Spring Security and Angular:: A tutorial on how to use Spring Security with a single page application with various backend architectures, ranging from a simple single server to an API gateway with OAuth2 authentication.

Home Page:https://spring.io/guides/tutorials/spring-security-and-angular-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

basic/README.adoc has outdated hello.js code

CaptainSeven opened this issue · comments

https://gist.github.com/CaptainSeven/3d5e12871d0d13300f76aca67e1e9a51

Receive the above error while following the tutorial.
As a result of the error the below does not show on the page:

The ID is XYZ

The content is Hello World

The code for hello.js is hardcoded in the README.adoc: https://github.com/spring-guides/tut-spring-security-and-angular-js/blob/master/basic/README.adoc#create-the-angular-application

Had to change Line 2:

selector : 'hello',

to the below so it would work:

selector : 'app',