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

App directory structure #28

Closed
un33k opened this issue Jun 30, 2015 · 2 comments
Closed

App directory structure #28

un33k opened this issue Jun 30, 2015 · 2 comments
Labels

Comments

@un33k
Copy link

un33k commented Jun 30, 2015

Which one do you think is better. Grouping things by type or by feature. Here we have all components together and all services together as well. Do you think it would be better to pack them by features?

@ludohenin
Copy link
Collaborator

@un33k Angular 2 is really about components, and you may have app level services as well as components level ones. I think is it's fine like that.

@mgechev
Copy link
Owner

mgechev commented Jul 2, 2015

@un33k I think soon Google should announce official guidelines. Until then, I think what is suggested in most style guides for Angular 1 is still mostly valid.

@mgechev mgechev closed this as completed Jul 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants