From dad30abffe910695037dc99b356956922ce374d0 Mon Sep 17 00:00:00 2001 From: Karan Sapolia Date: Tue, 13 Mar 2018 16:01:33 +0530 Subject: [PATCH] docs(dialog): readded resolve property Corrected resolve property description Closes #11159 --- src/components/dialog/dialog.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/dialog/dialog.js b/src/components/dialog/dialog.js index 36fbc670b2d..d9e4d2c0c62 100644 --- a/src/components/dialog/dialog.js +++ b/src/components/dialog/dialog.js @@ -536,6 +536,8 @@ function MdDialogDirective($$rAF, $mdTheming, $mdDialog) { * `three` into the controller, with the value 3. If `bindToController` is true, they will be * copied to the controller instead. * - `bindToController` - `bool`: bind the locals to the controller, instead of passing them in. + * - `resolve` - `{function=}`: Similar to locals, except it takes as values functions that return promises, and the + * dialog will not open until all of the promises resolve. * - `controllerAs` - `{string=}`: An alias to assign the controller to on the scope. * - `parent` - `{element=}`: The element to append the dialog to. Defaults to appending * to the root element of the application.