{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/material/issues/7846","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/7846/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/7846/comments","events_url":"https://api.github.com/repos/angular/material/issues/7846/events","html_url":"https://github.com/angular/material/issues/7846","id":145270336,"number":7846,"title":"mdComponentRegistry only allow one .when","user":{"login":"trainerbill","id":3578259,"avatar_url":"https://avatars.githubusercontent.com/u/3578259?v=3","gravatar_id":"","url":"https://api.github.com/users/trainerbill","html_url":"https://github.com/trainerbill","followers_url":"https://api.github.com/users/trainerbill/followers","following_url":"https://api.github.com/users/trainerbill/following{/other_user}","gists_url":"https://api.github.com/users/trainerbill/gists{/gist_id}","starred_url":"https://api.github.com/users/trainerbill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trainerbill/subscriptions","organizations_url":"https://api.github.com/users/trainerbill/orgs","repos_url":"https://api.github.com/users/trainerbill/repos","events_url":"https://api.github.com/users/trainerbill/events{/privacy}","received_events_url":"https://api.github.com/users/trainerbill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-01T19:55:34Z","updated_at":"2016-04-01T19:55:34Z","closed_at":null,"body":"https://github.com/angular/material/blob/master/src/core/services/registry/componentRegistry.js#L105\r\n\r\nNot sure if this is intended or not but I have multiple places where I need to wait for a component.  It would be nice if .when would push the promise onto an array and resolve them all when the instance is ready.  If this is intended what is your recommendation?  I would rather not create a service that executes it and my controllers wait on my service.\r\n\r\nI can PR it if it is something that should be supported."}}