Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit aebf6be

Browse files
committed
Bumped the version
1 parent 58cc8f6 commit aebf6be

10 files changed

Lines changed: 48 additions & 45 deletions

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-dialog-service",
33
"description": "A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal",
4-
"version": "5.2.10",
4+
"version": "5.2.11",
55
"keywords": [
66
"angular",
77
"dialog",

dist/dialogs-default-translations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* angular-dialog-service - A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal
3-
* @version v5.2.10
3+
* @version v5.2.11
44
* @author Michael Conroy, michael.e.conroy@gmail.com
55
* @license MIT, http://www.opensource.org/licenses/MIT
66
*/

dist/dialogs.js

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* angular-dialog-service - A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal
3-
* @version v5.2.10
3+
* @version v5.2.11
44
* @author Michael Conroy, michael.e.conroy@gmail.com
55
* @license MIT, http://www.opensource.org/licenses/MIT
66
*/
@@ -212,9 +212,9 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
212212

213213
/**
214214
* Use Backdrop
215-
*
215+
*
216216
* Sets the use of the modal backdrop. Either to have one or not and
217-
* whether or not it responds to mouse clicks ('static' sets the
217+
* whether or not it responds to mouse clicks ('static' sets the
218218
* backdrop to true and does not respond to mouse clicks).
219219
*
220220
* @param val mixed (true, false, 'static')
@@ -226,7 +226,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
226226

227227
/**
228228
* Use ESC Close
229-
*
229+
*
230230
* Sets the use of the ESC (escape) key to close modal windows.
231231
*
232232
* @param val boolean
@@ -250,7 +250,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
250250

251251
/**
252252
* Use Copy
253-
*
253+
*
254254
* Determines the use of angular.copy when sending data to the modal controller.
255255
*
256256
* @param val boolean
@@ -275,7 +275,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
275275
/**
276276
* Set Size
277277
*
278-
* Sets the modal size to use (sm,lg,md), requires Angular-ui-Bootstrap 0.11.0 and Bootstrap 3.1.0 +
278+
* Sets the modal size to use (sm,lg,md)
279279
*
280280
* @param val string (sm,lg,md)
281281
*/
@@ -305,7 +305,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
305305

306306

307307
this.$get = ['$uibModal',function ($uibModal){
308-
308+
309309
return {
310310
/**
311311
* Error Dialog
@@ -337,7 +337,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
337337
}
338338
}); // end modal.open
339339
}, // end error
340-
340+
341341
/**
342342
* Wait Dialog
343343
*
@@ -370,7 +370,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
370370
}
371371
}); // end modal.open
372372
}, // end wait
373-
373+
374374
/**
375375
* Notify Dialog
376376
*
@@ -401,7 +401,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
401401
}
402402
}); // end modal.open
403403
}, // end notify
404-
404+
405405
/**
406406
* Confirm Dialog
407407
*
@@ -432,7 +432,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
432432
}
433433
}); // end modal.open
434434
}, // end confirm
435-
435+
436436
/**
437437
* Create Custom Dialog
438438
*
@@ -441,21 +441,22 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
441441
* @param data object
442442
* @param opts object
443443
*/
444-
create : function(url,ctrlr,data,opts){
444+
create : function(url,ctrlr,data,opts,ctrlAs){
445445
var copy = (opts && angular.isDefined(opts.copy)) ? opts.copy : _copy;
446446
opts = _setOpts(opts);
447447

448448
return $uibModal.open({
449449
templateUrl : url,
450450
controller : ctrlr,
451+
controllerAs : ctrlAs,
451452
keyboard : opts.kb,
452453
backdrop : opts.bd,
453454
backdropClass: opts.bdc,
454455
windowClass: opts.wc,
455456
size: opts.ws,
456457
animation: opts.anim,
457458
resolve : {
458-
data : function() {
459+
data : function() {
459460
if(copy)
460461
return angular.copy(data);
461462
else

dist/dialogs.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/js/dialogs-default-translations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* angular-dialog-service - A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal
3-
* @version v5.2.10
3+
* @version v5.2.11
44
* @author Michael Conroy, michael.e.conroy@gmail.com
55
* @license MIT, http://www.opensource.org/licenses/MIT
66
*/

example/js/dialogs.js

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* angular-dialog-service - A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal
3-
* @version v5.2.10
3+
* @version v5.2.11
44
* @author Michael Conroy, michael.e.conroy@gmail.com
55
* @license MIT, http://www.opensource.org/licenses/MIT
66
*/
@@ -212,9 +212,9 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
212212

213213
/**
214214
* Use Backdrop
215-
*
215+
*
216216
* Sets the use of the modal backdrop. Either to have one or not and
217-
* whether or not it responds to mouse clicks ('static' sets the
217+
* whether or not it responds to mouse clicks ('static' sets the
218218
* backdrop to true and does not respond to mouse clicks).
219219
*
220220
* @param val mixed (true, false, 'static')
@@ -226,7 +226,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
226226

227227
/**
228228
* Use ESC Close
229-
*
229+
*
230230
* Sets the use of the ESC (escape) key to close modal windows.
231231
*
232232
* @param val boolean
@@ -250,7 +250,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
250250

251251
/**
252252
* Use Copy
253-
*
253+
*
254254
* Determines the use of angular.copy when sending data to the modal controller.
255255
*
256256
* @param val boolean
@@ -275,7 +275,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
275275
/**
276276
* Set Size
277277
*
278-
* Sets the modal size to use (sm,lg,md), requires Angular-ui-Bootstrap 0.11.0 and Bootstrap 3.1.0 +
278+
* Sets the modal size to use (sm,lg,md)
279279
*
280280
* @param val string (sm,lg,md)
281281
*/
@@ -305,7 +305,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
305305

306306

307307
this.$get = ['$uibModal',function ($uibModal){
308-
308+
309309
return {
310310
/**
311311
* Error Dialog
@@ -337,7 +337,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
337337
}
338338
}); // end modal.open
339339
}, // end error
340-
340+
341341
/**
342342
* Wait Dialog
343343
*
@@ -370,7 +370,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
370370
}
371371
}); // end modal.open
372372
}, // end wait
373-
373+
374374
/**
375375
* Notify Dialog
376376
*
@@ -401,7 +401,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
401401
}
402402
}); // end modal.open
403403
}, // end notify
404-
404+
405405
/**
406406
* Confirm Dialog
407407
*
@@ -432,7 +432,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
432432
}
433433
}); // end modal.open
434434
}, // end confirm
435-
435+
436436
/**
437437
* Create Custom Dialog
438438
*
@@ -441,21 +441,22 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
441441
* @param data object
442442
* @param opts object
443443
*/
444-
create : function(url,ctrlr,data,opts){
444+
create : function(url,ctrlr,data,opts,ctrlAs){
445445
var copy = (opts && angular.isDefined(opts.copy)) ? opts.copy : _copy;
446446
opts = _setOpts(opts);
447447

448448
return $uibModal.open({
449449
templateUrl : url,
450450
controller : ctrlr,
451+
controllerAs : ctrlAs,
451452
keyboard : opts.kb,
452453
backdrop : opts.bd,
453454
backdropClass: opts.bdc,
454455
windowClass: opts.wc,
455456
size: opts.ws,
456457
animation: opts.anim,
457458
resolve : {
458-
data : function() {
459+
data : function() {
459460
if(copy)
460461
return angular.copy(data);
461462
else

example/js/dialogs.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-dialog-service",
33
"description": "A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal",
4-
"version": "5.2.10",
4+
"version": "5.2.11",
55
"keywords": [
66
"angular",
77
"dialog",

src/dialogs-services.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
9191
/**
9292
* Set Size
9393
*
94-
* Sets the modal size to use (sm,lg,md), requires Angular-ui-Bootstrap 0.11.0 and Bootstrap 3.1.0 +
94+
* Sets the modal size to use (sm,lg,md)
9595
*
9696
* @param val string (sm,lg,md)
9797
*/

src/dialogs.js

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
206206

207207
/**
208208
* Use Backdrop
209-
*
209+
*
210210
* Sets the use of the modal backdrop. Either to have one or not and
211-
* whether or not it responds to mouse clicks ('static' sets the
211+
* whether or not it responds to mouse clicks ('static' sets the
212212
* backdrop to true and does not respond to mouse clicks).
213213
*
214214
* @param val mixed (true, false, 'static')
@@ -220,7 +220,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
220220

221221
/**
222222
* Use ESC Close
223-
*
223+
*
224224
* Sets the use of the ESC (escape) key to close modal windows.
225225
*
226226
* @param val boolean
@@ -244,7 +244,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
244244

245245
/**
246246
* Use Copy
247-
*
247+
*
248248
* Determines the use of angular.copy when sending data to the modal controller.
249249
*
250250
* @param val boolean
@@ -269,7 +269,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
269269
/**
270270
* Set Size
271271
*
272-
* Sets the modal size to use (sm,lg,md), requires Angular-ui-Bootstrap 0.11.0 and Bootstrap 3.1.0 +
272+
* Sets the modal size to use (sm,lg,md)
273273
*
274274
* @param val string (sm,lg,md)
275275
*/
@@ -299,7 +299,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
299299

300300

301301
this.$get = ['$uibModal',function ($uibModal){
302-
302+
303303
return {
304304
/**
305305
* Error Dialog
@@ -331,7 +331,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
331331
}
332332
}); // end modal.open
333333
}, // end error
334-
334+
335335
/**
336336
* Wait Dialog
337337
*
@@ -364,7 +364,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
364364
}
365365
}); // end modal.open
366366
}, // end wait
367-
367+
368368
/**
369369
* Notify Dialog
370370
*
@@ -395,7 +395,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
395395
}
396396
}); // end modal.open
397397
}, // end notify
398-
398+
399399
/**
400400
* Confirm Dialog
401401
*
@@ -426,7 +426,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
426426
}
427427
}); // end modal.open
428428
}, // end confirm
429-
429+
430430
/**
431431
* Create Custom Dialog
432432
*
@@ -435,21 +435,22 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
435435
* @param data object
436436
* @param opts object
437437
*/
438-
create : function(url,ctrlr,data,opts){
438+
create : function(url,ctrlr,data,opts,ctrlAs){
439439
var copy = (opts && angular.isDefined(opts.copy)) ? opts.copy : _copy;
440440
opts = _setOpts(opts);
441441

442442
return $uibModal.open({
443443
templateUrl : url,
444444
controller : ctrlr,
445+
controllerAs : ctrlAs,
445446
keyboard : opts.kb,
446447
backdrop : opts.bd,
447448
backdropClass: opts.bdc,
448449
windowClass: opts.wc,
449450
size: opts.ws,
450451
animation: opts.anim,
451452
resolve : {
452-
data : function() {
453+
data : function() {
453454
if(copy)
454455
return angular.copy(data);
455456
else

0 commit comments

Comments
 (0)