{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4285","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4285/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4285/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4285/events","html_url":"https://github.com/ember-cli/ember-cli/issues/4285","id":87784695,"number":4285,"title":"Application.hbs inserted at incorrect point in index.html","user":{"login":"davidpaulmcintyre","id":10999581,"avatar_url":"https://avatars.githubusercontent.com/u/10999581?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpaulmcintyre","html_url":"https://github.com/davidpaulmcintyre","followers_url":"https://api.github.com/users/davidpaulmcintyre/followers","following_url":"https://api.github.com/users/davidpaulmcintyre/following{/other_user}","gists_url":"https://api.github.com/users/davidpaulmcintyre/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpaulmcintyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpaulmcintyre/subscriptions","organizations_url":"https://api.github.com/users/davidpaulmcintyre/orgs","repos_url":"https://api.github.com/users/davidpaulmcintyre/repos","events_url":"https://api.github.com/users/davidpaulmcintyre/events{/privacy}","received_events_url":"https://api.github.com/users/davidpaulmcintyre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/pending-submitter-response","name":"pending-submitter-response","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-12T16:44:25Z","updated_at":"2015-06-12T17:41:50Z","closed_at":null,"body":"The application.hbs template is inserted at an incorrect point in index.html.  It's being inserted at the end of the body tag, below the script tags and below the body-footer contentFor hook.  \r\n\r\nSimple demo project that repro's the issue is at https://github.com/davidpaulmcintyre/bug-test.git  It uses a simple in-repo-addon.  The contentFor hooks work correctly, but it looks as if it doesn't because the app.hbs is inserted at the wrong point.  \r\n\r\nDespite the bug, project passes all tests.  "},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/111570691","html_url":"https://github.com/ember-cli/ember-cli/issues/4285#issuecomment-111570691","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4285","id":111570691,"user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T17:41:50Z","updated_at":"2015-06-12T17:41:50Z","body":"> the ember app is appended below the script tags for vendor.js and appname.js,\r\n\r\nyes, but this is overridable by specifying rootElement. I suspect this will unblock you."}}