{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/material/issues/3919","labels_url":"https://api.github.com/repos/angular/material/issues/3919/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/3919/comments","events_url":"https://api.github.com/repos/angular/material/issues/3919/events","html_url":"https://github.com/angular/material/issues/3919","id":97596620,"number":3919,"title":"md-dialog no longer works with $q.all()","user":{"login":"JDGoldman","id":5783708,"avatar_url":"https://avatars.githubusercontent.com/u/5783708?v=3","gravatar_id":"","url":"https://api.github.com/users/JDGoldman","html_url":"https://github.com/JDGoldman","followers_url":"https://api.github.com/users/JDGoldman/followers","following_url":"https://api.github.com/users/JDGoldman/following{/other_user}","gists_url":"https://api.github.com/users/JDGoldman/gists{/gist_id}","starred_url":"https://api.github.com/users/JDGoldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDGoldman/subscriptions","organizations_url":"https://api.github.com/users/JDGoldman/orgs","repos_url":"https://api.github.com/users/JDGoldman/repos","events_url":"https://api.github.com/users/JDGoldman/events{/privacy}","received_events_url":"https://api.github.com/users/JDGoldman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-28T02:06:47Z","updated_at":"2015-07-28T02:06:47Z","closed_at":null,"body":"I have created a Dialog service which basically pops-up a \"processing\" md-dialog while a data service (or other promise or promises) runs.  As soon as the promise (or promises) returns, the processing dialog is supposed to hide automatically.  The Dialog service works fine with Material v 0.10.  It breaks with Material v 0.10.1-rc3 and beyond.\r\n\r\nA Codepen of my Dialog service with methods to invoke the main functions is located here: http://codepen.io/JDGoldman/pen/ZGqjdY\r\n\r\nThe Codepen uses Material v0.10. If I try to change this to v0.10.1-rc4, there is a problem with the dialog controller when using a $q.all() syntax (you can tell because the {{ }} show up instead of text).  If you have only one promise/function, the dialog service appears to work normally.  If I pass my DialogService in to the $q.all() call as one of the parameters, the dialog service finds the controller, but the dialog never closes (since, of course, it is now waiting for itself to close).  \r\n\r\nI assume that the newer versions of Material were not supposed to break my Dialog service.  I'm not sure exactly where this problem cropped up, but it definitely occurred after v0.10.  If I had to guess, perhaps it is caused by eliminating the dialogTransitionEnd function and $mdUtil.transitionEndPromise(dialogEl) calls, all of which returned a promise.   \r\n\r\nThanks for reading.  Great work on this project.  Angular Material is incredible."}}