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.

Junfeng (10) [Avatar] Offline
#1
I just followed the steps to build the first Angello app.

Some problems I have. Any suggestions? Many thanks!

1. setCurrentStory method has no implementation
2. After I run the codes, I got the attached snapshot. Seems the data did not come.
3. What is the difference between factory and service?
Lukas Ruebbelke (107) [Avatar] Offline
#2
Hi -- are you able to get the entire example running from the repository?

https://github.com/angularjs-in-action/angello-lite

Are you getting errors in your browser console?
Junfeng (10) [Avatar] Offline
#3
Thanks for the reply. Yes, I forgot to add the following line to the index.html.

<script src="app.js"></script>

Works for me now. I just started to read the third chapter. So far everything is good. Thanks!