{"action":"closed","issue":{"url":"https://api.github.com/repos/vladotesanovic/angular2-express-starter/issues/15","repository_url":"https://api.github.com/repos/vladotesanovic/angular2-express-starter","labels_url":"https://api.github.com/repos/vladotesanovic/angular2-express-starter/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/vladotesanovic/angular2-express-starter/issues/15/comments","events_url":"https://api.github.com/repos/vladotesanovic/angular2-express-starter/issues/15/events","html_url":"https://github.com/vladotesanovic/angular2-express-starter/issues/15","id":172308104,"number":15,"title":"moduleId Enhancement?","user":{"login":"VietAnhh","id":18594825,"avatar_url":"https://avatars.githubusercontent.com/u/18594825?v=3","gravatar_id":"","url":"https://api.github.com/users/VietAnhh","html_url":"https://github.com/VietAnhh","followers_url":"https://api.github.com/users/VietAnhh/followers","following_url":"https://api.github.com/users/VietAnhh/following{/other_user}","gists_url":"https://api.github.com/users/VietAnhh/gists{/gist_id}","starred_url":"https://api.github.com/users/VietAnhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VietAnhh/subscriptions","organizations_url":"https://api.github.com/users/VietAnhh/orgs","repos_url":"https://api.github.com/users/VietAnhh/repos","events_url":"https://api.github.com/users/VietAnhh/events{/privacy}","received_events_url":"https://api.github.com/users/VietAnhh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-21T06:53:29Z","updated_at":"2016-10-27T18:08:49Z","closed_at":"2016-10-27T18:08:49Z","body":"I find it kind of tedious but is there a way to avoid having to state the full directory inside the templateUrl.\r\n\r\nIn the original angular 2 seed they have something like this\r\n```\r\n@Component({\r\n   moduleId: module.id,\r\n    templateUrl: tutorial-home-component.html\r\n})\r\n```\r\n\r\n\r\n\r\nBut in my case I have something like this\r\n\r\n```\r\n@Component({\r\n    selector: 'WR-tutorial-home',\r\n    directives: [SearchBarComponent],\r\n    styleUrls: ['./client/modules/tutorial/home/tutorial-home.component.css'],\r\n    templateUrl: './client/modules/tutorial/home/tutorial-home.component.html'\r\n})\r\n```\r\n\r\nAny way you can incorporate that method of using moduleId. And if there is one already set up that I didn't know about how would I be able to?\r\n\r\n\r\n"}}
{"actor":{"display_login":"vladotesanovic"}}