Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How the Server controllers (/app/controllers/articles.js) and the Client controllers (/public/js/controllers/articles.js) know each others? #65

Closed
thanhthang20 opened this issue Sep 9, 2013 · 3 comments

Comments

@thanhthang20
Copy link

Hi MEAN, this is so wonderful stack!

I do not know how the Client controllers can get the data from the Server controllers to export to view.

By the way, what is the role of these two .js file: article.js in public/js/service and init.js in public/js

Thanks!

@rschwabco
Copy link
Contributor

The client controllers get the data from the server through services (public/js/service) - you can learn about it http://egghead.io/lessons/angularjs-sharing-data-between-controllers.

@thanhthang20
Copy link
Author

Thanks for your help but this page is 404 error: http://egghead.io/lessons/angularjs-sharing-data-between-controllers.

@remicastaing
Copy link

You have to remove the period at the and:
http://egghead.io/lessons/angularjs-sharing-data-between-controllers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants