AngularJS components-queue with promise-support. Great for building stacked modal dialogs.
This component allows you to stack components inside of a queue. Every component gets passed a promise which, whenever its resolved / rejected, will remove the component from the queue. If the parent scope is destroyed, the child-components can be removed from the queue automatically. This is great when building complex applications with stacked modal dialogs.
npm i ng-components-queue
<script src='./node_modules/ng-components-queue/module.js'></script>
<script src='./node_modules/ng-compile-component/src/ng-compile-component.js'></script>
<script src='./node_modules/ng-components-queue/src/ng-components-queue.js'></script>
<script src='./node_modules/ng-components-queue/src/ng-components-host.js'></script>
angular.module('app', ['rckd.utils']);
Now you are ready to rumble!
Check this fiddle for a simple dialog-example.