I'm pretty new to Angular2. Can you give me a little bit more help about 
what should I do for the rest endpoint? Maybe use th:include or th:repalce?

Thank you so much!!
Yuting


On Monday, October 31, 2016 at 12:07:48 PM UTC-5, Sander Elias wrote:
>
> Ok...
>
> Well, you can't do it like that. As I noticed in my question, this is not 
> HTML before the scripts are executed in the browser. So it is NOT AVAILABLE 
> to your server at all, as it does not exist at the time the server does it 
> job. You need to provide a rest (or other) endpoint in your server so you 
> can use http to get the data inside the client.
>
> Regards
> Sander
>
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to