{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/25928","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/25928/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/25928/comments","events_url":"https://api.github.com/repos/angular/angular/issues/25928/events","html_url":"https://github.com/angular/angular/issues/25928","id":359375913,"node_id":"MDU6SXNzdWUzNTkzNzU5MTM=","number":25928,"title":"Better examples in documentation for @angular/upgrade/static","user":{"login":"Mnaaz","id":34718703,"node_id":"MDQ6VXNlcjM0NzE4NzAz","avatar_url":"https://avatars3.githubusercontent.com/u/34718703?v=4","gravatar_id":"","url":"https://api.github.com/users/Mnaaz","html_url":"https://github.com/Mnaaz","followers_url":"https://api.github.com/users/Mnaaz/followers","following_url":"https://api.github.com/users/Mnaaz/following{/other_user}","gists_url":"https://api.github.com/users/Mnaaz/gists{/gist_id}","starred_url":"https://api.github.com/users/Mnaaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mnaaz/subscriptions","organizations_url":"https://api.github.com/users/Mnaaz/orgs","repos_url":"https://api.github.com/users/Mnaaz/repos","events_url":"https://api.github.com/users/Mnaaz/events{/privacy}","received_events_url":"https://api.github.com/users/Mnaaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-12T08:47:39Z","updated_at":"2018-09-12T19:40:58Z","closed_at":null,"author_association":"NONE","body":"## I'm submitting a...\r\n<!-- Check one of the following options with \"x\" -->\r\n<pre><code>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Performance issue\r\n[ ] Feature request\r\n[x] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n[ ] Other... Please describe:\r\n</code></pre>\r\n\r\n## Current behavior\r\nI have been looking for code examples using @angular/upgrade/static to upgrade/downgrade AngularJS to Angular and vice versa. The documentation does provide some code samples, but they are not very understandable in my opinion. The documentation for downgradeComponent for instance, does not provide any examples for downgrading to an AngularJS application written in JavaScript. All examples have an AngularJS app written in TypeScript.\r\n\r\n## Expected behavior\r\nThe documentation for @angular/upgrade/static should contain understandable examples for the following Components:\r\n- UpgradeModule\r\n- UpgradeComponent\r\n- downgradeModule\r\n- downgradeComponent\r\n- downgradeInjectable\r\n\r\nSpecifically, examples for downgrading to AngularJS written in JavaScript. Working examples should be provided in [GitHub](https://github.com/angular/angular/tree/master/aio/content/examples/upgrade-module) with a link in the documentation.\r\n\r\n## Minimal reproduction of the problem with instructions\r\nVisit https://angular.io/api/upgrade/static\r\n\r\n## What is the motivation / use case for changing the behavior?\r\nComplete and working examples in the documentation make it easier to build hybrid apps and to interchange Angular with AngularJS if you have large AngularJS apps and cannot migrate to Angular that easily.\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/420772427","html_url":"https://github.com/angular/angular/issues/25928#issuecomment-420772427","issue_url":"https://api.github.com/repos/angular/angular/issues/25928","id":420772427,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDc3MjQyNw==","user":{"login":"gkalpak","id":8604205,"node_id":"MDQ6VXNlcjg2MDQyMDU=","avatar_url":"https://avatars2.githubusercontent.com/u/8604205?v=4","gravatar_id":"","url":"https://api.github.com/users/gkalpak","html_url":"https://github.com/gkalpak","followers_url":"https://api.github.com/users/gkalpak/followers","following_url":"https://api.github.com/users/gkalpak/following{/other_user}","gists_url":"https://api.github.com/users/gkalpak/gists{/gist_id}","starred_url":"https://api.github.com/users/gkalpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkalpak/subscriptions","organizations_url":"https://api.github.com/users/gkalpak/orgs","repos_url":"https://api.github.com/users/gkalpak/repos","events_url":"https://api.github.com/users/gkalpak/events{/privacy}","received_events_url":"https://api.github.com/users/gkalpak/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T19:40:58Z","updated_at":"2018-09-12T19:40:58Z","author_association":"MEMBER","body":"Related to #19102."}}
{"actor":{"display_login":"gkalpak"}}