{"action":"closed","issue":{"url":"https://api.github.com/repos/mgechev/angular2-seed/issues/1331","repository_url":"https://api.github.com/repos/mgechev/angular2-seed","labels_url":"https://api.github.com/repos/mgechev/angular2-seed/issues/1331/labels{/name}","comments_url":"https://api.github.com/repos/mgechev/angular2-seed/issues/1331/comments","events_url":"https://api.github.com/repos/mgechev/angular2-seed/issues/1331/events","html_url":"https://github.com/mgechev/angular2-seed/issues/1331","id":176742623,"number":1331,"title":"redundant file names","user":{"login":"doapp-ryanp","id":1036546,"avatar_url":"https://avatars.githubusercontent.com/u/1036546?v=3","gravatar_id":"","url":"https://api.github.com/users/doapp-ryanp","html_url":"https://github.com/doapp-ryanp","followers_url":"https://api.github.com/users/doapp-ryanp/followers","following_url":"https://api.github.com/users/doapp-ryanp/following{/other_user}","gists_url":"https://api.github.com/users/doapp-ryanp/gists{/gist_id}","starred_url":"https://api.github.com/users/doapp-ryanp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doapp-ryanp/subscriptions","organizations_url":"https://api.github.com/users/doapp-ryanp/orgs","repos_url":"https://api.github.com/users/doapp-ryanp/repos","events_url":"https://api.github.com/users/doapp-ryanp/events{/privacy}","received_events_url":"https://api.github.com/users/doapp-ryanp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-13T20:35:38Z","updated_at":"2016-09-14T00:32:38Z","closed_at":"2016-09-14T00:32:38Z","body":"Why do all files under `app/<dirname>/` have the prefix of the `<dirname>`?\r\n\r\nI am aware of the [style guide application structure section](https://angular.io/styleguide#!#application-structure) however nothing in there to me indicates a reason for this redundancy that angular2-seed has chosen.\r\n\r\nThere must be a good reason for it, but from what I can tell (only using angular2 for a week now) you remove lots of redundancy by leveraging convention over configuration when naming files in an app folder.\r\n\r\n## Proposed change\r\n\r\nNow:\r\n```\r\napp/home:\r\n  - home.component.css|html|e2e-spec.ts|spec.ts|ts\r\n  - home.module.ts\r\n  - home.routes.ts\r\n  - index.ts\r\n```\r\n\r\nNew:\r\n```\r\napp/home:\r\n  - component.css|html|e2e-spec.ts|spec.ts|ts\r\n  - module.ts\r\n  - routes.ts\r\n  - index.ts\r\n```"}}
{"actor":{"display_login":"mgechev"}}