Skip to content

Angular bootsrap $modal custom factory which provides truly undestroyable $modal singleton

Notifications You must be signed in to change notification settings

dhilt/angular-bootstrap-modal-singleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-bootstrap-modal-singleton

See sample demo. There are two different samples of "modalDialogs" factory usage: a second level factories ("confirmation" and "someDialogService") with and without $scope passing. I did't even try to create any documentation and hope these samples can provide enough information... The code of modalDialogs factory is quite dirty because of destroying prevention and DOM-oriented hiding/showing. It's just a concept.

So one of the main reason for undestroyable $modal factory usage was the ui.bootstrap $modal memory leakages removal. But this issue had been resolved within ui.bootstrap some time ago (in 0.12.0 release).

dhilt, 2015

About

Angular bootsrap $modal custom factory which provides truly undestroyable $modal singleton

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published