{"action":"opened","issue":{"url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter/issues/243","repository_url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter","labels_url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter/issues/243/comments","events_url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter/issues/243/events","html_url":"https://github.com/jadjoubran/laravel5-angular-material-starter/issues/243","id":146443552,"number":243,"title":"Enhancement idea ","user":{"login":"kujtimiihoxha","id":14311743,"avatar_url":"https://avatars.githubusercontent.com/u/14311743?v=3","gravatar_id":"","url":"https://api.github.com/users/kujtimiihoxha","html_url":"https://github.com/kujtimiihoxha","followers_url":"https://api.github.com/users/kujtimiihoxha/followers","following_url":"https://api.github.com/users/kujtimiihoxha/following{/other_user}","gists_url":"https://api.github.com/users/kujtimiihoxha/gists{/gist_id}","starred_url":"https://api.github.com/users/kujtimiihoxha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kujtimiihoxha/subscriptions","organizations_url":"https://api.github.com/users/kujtimiihoxha/orgs","repos_url":"https://api.github.com/users/kujtimiihoxha/repos","events_url":"https://api.github.com/users/kujtimiihoxha/events{/privacy}","received_events_url":"https://api.github.com/users/kujtimiihoxha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-06T21:39:02Z","updated_at":"2016-04-06T21:39:02Z","closed_at":null,"body":"I think we could use Ecmascript 6 decorators to eliminate the need of registering the config files and components, routes etc.., also this would make it later easier for users to switch to angular 2. I have implemented this in [kujtimiihoxha/laravel-ng-ts](https://github.com/kujtimiihoxha/laravel-ng-ts.git) , my solution uses TypeScript but it can be easily implemented in JavaScript. \r\n\r\nIf you want I could submit a pull request with my solution. \r\n\r\nBTW, If you have time take a look at the repository mentioned and tell me if you have any suggestions.(it is still a work in progress)."}}