René's URL Explorer Experiment


Title: Http Requests and Http Injectables · Issue #3086 · angular/angular · GitHub

Open Graph Title: Http Requests and Http Injectables · Issue #3086 · angular/angular

X Title: Http Requests and Http Injectables · Issue #3086 · angular/angular

Description: Hi all ! I think httpInjectables are not working completely... Problem 1 This is my Service: @Component({ viewInjector: [httpInjectables] }) export class Service { constructor(http : Http) { ObservableWrapper.subscribe(http.get('http://a...

Open Graph Description: Hi all ! I think httpInjectables are not working completely... Problem 1 This is my Service: @Component({ viewInjector: [httpInjectables] }) export class Service { constructor(http : Http) { Observ...

X Description: Hi all ! I think httpInjectables are not working completely... Problem 1 This is my Service: @Component({ viewInjector: [httpInjectables] }) export class Service { constructor(http : Http) { Observ...

Opengraph URL: https://github.com/angular/angular/issues/3086

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Http Requests and Http Injectables","articleBody":"Hi all !\n\nI think httpInjectables are not working completely...\n\n---\n\n\u003ch1\u003eProblem 1\u003c/h1\u003e\n\nThis is my Service:\n\n``` javascript\n@Component({\n    viewInjector: [httpInjectables]\n})\nexport class Service {\n   constructor(http : Http) {\n        ObservableWrapper.subscribe(http.get('http://api.github.com/users'), res =\u003e { \n            debugger\n            this.people = res.json()\n        });\n   }\n}\n```\n\nWhich throws this:\n![image](https://cloud.githubusercontent.com/assets/8090726/8727749/40ccbbdc-2bd9-11e5-9138-7e06c739f737.png)\n\nThis is my bootstrap:\n\n``` javascript\nbootstrap(Application, []);\n```\n\n---\n\nBut \u003cb\u003eonly\u003c/b\u003e if I change my bootstrap, I can run the code..\n\n``` javascript\nbootstrap(Application, [httpInjectables]);\n```\n\nAny ideas why is this happening?\nI mean, if I want my service component to be distributed to other applications, I need to add httpInjectables to bootstrap? Seems wrong... The idea of NG2 was to build scalable and independent components.\n\n---\n\n\u003ch1\u003eProblem 2\u003c/h1\u003e\n\nIf I request a non existing resource (it also happens locally): \n![image](https://cloud.githubusercontent.com/assets/8090726/8727914/3f9cb252-2bda-11e5-9363-7f0f71960eb2.png)\n\nThe status body id correct, but the status code is not and always returns 200.\n\nBest regards,\nTiago Braga\n","author":{"url":"https://github.com/tbragaf","@type":"Person","name":"tbragaf"},"datePublished":"2015-07-16T15:43:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/3086/angular/issues/3086"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1d539215-769d-81fc-fbee-9ba253412a5b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8B70:12CFC4:1F42824:2D30CB9:6A60AD64
html-safe-nonceebeb90f74eb1f2b388c13a200577c4d94f92c5ac0751e1bfc1f0a9bc9cff0646
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjcwOjEyQ0ZDNDoxRjQyODI0OjJEMzBDQjk6NkE2MEFENjQiLCJ2aXNpdG9yX2lkIjoiNTQwNjkzMTU5NDgyNDk1MzE4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfb89c8227ba1e9743afa8e953901eefdfd75b432aecd3652c462f852ce15ddc4
hovercard-subject-tagissue:95463219
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/3086/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e7812b43dcad2b7b5629c6973e1962976fb7843b1c9d0a4bb15e3fdcdf68aec1/angular/angular/issues/3086
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e7812b43dcad2b7b5629c6973e1962976fb7843b1c9d0a4bb15e3fdcdf68aec1/angular/angular/issues/3086
og:image:altHi all ! I think httpInjectables are not working completely... Problem 1 This is my Service: @Component({ viewInjector: [httpInjectables] }) export class Service { constructor(http : Http) { Observ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametbragaf
hostnamegithub.com
expected-hostnamegithub.com
None66af895cfa11168648b21cb54f2bdc3b0587503cc95c3040344b93f2cd4f9e08
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb2efb079bef4751afb19e51eb8a7bfb7a46dd1a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular/issues/3086#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F3086
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F3086
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/3086
Reloadhttps://github.com/angular/angular/issues/3086
Reloadhttps://github.com/angular/angular/issues/3086
Please reload this pagehttps://github.com/angular/angular/issues/3086
angular https://github.com/angular
angularhttps://github.com/angular/angular
Notifications https://github.com/login?return_to=%2Fangular%2Fangular
Fork 27.5k https://github.com/login?return_to=%2Fangular%2Fangular
Star 101k https://github.com/login?return_to=%2Fangular%2Fangular
Code https://github.com/angular/angular
Issues 979 https://github.com/angular/angular/issues
Pull requests 159 https://github.com/angular/angular/pulls
Discussions https://github.com/angular/angular/discussions
Actions https://github.com/angular/angular/actions
Projects https://github.com/angular/angular/projects
Security and quality 24 https://github.com/angular/angular/security
Insights https://github.com/angular/angular/pulse
Code https://github.com/angular/angular
Issues https://github.com/angular/angular/issues
Pull requests https://github.com/angular/angular/pulls
Discussions https://github.com/angular/angular/discussions
Actions https://github.com/angular/angular/actions
Projects https://github.com/angular/angular/projects
Security and quality https://github.com/angular/angular/security
Insights https://github.com/angular/angular/pulse
Http Requests and Http Injectableshttps://github.com/angular/angular/issues/3086#top
https://github.com/tbragaf
tbragafhttps://github.com/tbragaf
on Jul 16, 2015https://github.com/angular/angular/issues/3086#issue-95463219
https://cloud.githubusercontent.com/assets/8090726/8727749/40ccbbdc-2bd9-11e5-9138-7e06c739f737.png
https://cloud.githubusercontent.com/assets/8090726/8727914/3f9cb252-2bda-11e5-9363-7f0f71960eb2.png
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.