{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3664","repository_url":"https://api.github.com/repos/jhipster/generator-jhipster","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3664/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3664/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3664/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/3664","id":157464676,"number":3664,"title":"AngularJS 2 roadmap","user":{"login":"jdubois","id":316835,"avatar_url":"https://avatars.githubusercontent.com/u/316835?v=3","gravatar_id":"","url":"https://api.github.com/users/jdubois","html_url":"https://github.com/jdubois","followers_url":"https://api.github.com/users/jdubois/followers","following_url":"https://api.github.com/users/jdubois/following{/other_user}","gists_url":"https://api.github.com/users/jdubois/gists{/gist_id}","starred_url":"https://api.github.com/users/jdubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdubois/subscriptions","organizations_url":"https://api.github.com/users/jdubois/orgs","repos_url":"https://api.github.com/users/jdubois/repos","events_url":"https://api.github.com/users/jdubois/events{/privacy}","received_events_url":"https://api.github.com/users/jdubois/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/feature%20request","name":"feature request","color":"0052cc"},{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/major","name":"major","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-30T09:24:08Z","updated_at":"2016-05-30T10:04:55Z","closed_at":null,"body":"This is a global ticket listing tasks for AngularJS 2 support, originally coming from [this thread in the dev mailing list](https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/jhipster-dev/fYpih7I9bb4/A-uppwIFAQAJ)\r\n\r\nThe tasks below can be edited and changed, depending on the discussions below:\r\n\r\n- [ ] Create a client-2 sub gen, which is a copy of the client sub-gen, and do all the dev there\r\n- [ ] Introduce a new question to use `client-2` instead of `client` so that users can choose what they want -> with \"client\" they will stay on AngularJS 1 (and have less risk), with \"client-2\" they follow our migration path, and will end up with AngularJS 2 app in the end (but more work/risk for them). All work is now down on \"client-2\"\r\n- [ ] Integrate Typescript and webpack (and probably drop Bower)\r\n- [ ] Migrate to component router instead of ui-router\r\n- [ ] use the upgrader component to upgrade ng1 directives / controllers\r\n- [ ] upgrade the services, controllers and directives to be fully angular2 for the main generator\r\n- [ ] upgrade the services, controllers and directives to be fully angular2 for the entity sub-generator\r\n- [ ] polish templates\r\n- [ ] once stable enough deprecate `client` and make `client-2` default (major version release)"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/222459091","html_url":"https://github.com/jhipster/generator-jhipster/issues/3664#issuecomment-222459091","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3664","id":222459091,"user":{"login":"wmarques","id":1577727,"avatar_url":"https://avatars.githubusercontent.com/u/1577727?v=3","gravatar_id":"","url":"https://api.github.com/users/wmarques","html_url":"https://github.com/wmarques","followers_url":"https://api.github.com/users/wmarques/followers","following_url":"https://api.github.com/users/wmarques/following{/other_user}","gists_url":"https://api.github.com/users/wmarques/gists{/gist_id}","starred_url":"https://api.github.com/users/wmarques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmarques/subscriptions","organizations_url":"https://api.github.com/users/wmarques/orgs","repos_url":"https://api.github.com/users/wmarques/repos","events_url":"https://api.github.com/users/wmarques/events{/privacy}","received_events_url":"https://api.github.com/users/wmarques/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T10:04:55Z","updated_at":"2016-05-30T10:04:55Z","body":"I would follow [this example](https://angular.io/docs/ts/latest/guide/upgrade.html#!#phonecat-preparation-tutorial) on the angular website:\r\n1. Use SystemJS (or Webpack) as a module loader (Bower dependencies => NPM)\r\n2. Move to typescript (first maybe we could only rename .js into .ts)\r\n3. Install angular2\r\n4. Use the UpgradeAdapater to bootstrap our app in Hybrid Mode\r\n5. Update main generator code, we have to define which files we update first (services files first seems easier for me)\r\n\r\nThere's other steps after of course but that would be a good start !"}}
{"actor":{"display_login":"wmarques"}}