Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
/ az-modal Public archive

Modal and drawer service for AngularJS using Bootstrap

License

Notifications You must be signed in to change notification settings

azerafati/az-modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

az Modal

NPM version Build Status Coveralls github Github file size

Modal service for AngularJS using Bootstrap

This is a very simple and minimal but handy service written to let you call a bootstrap modal with a template and a controller and pass some arguments to the controller.

So basically you can write:

azModal.show({
    templateUrl: '/app/product/product-detail.html',
    controller : 'productDetailCtrl',
    locals: {product:product}

});

And a Bootstrap modal will be displayed with product injected into decencies of productDetailCtrl controller.

Demo: https://azerafati.github.io/az-modal/

About

Modal and drawer service for AngularJS using Bootstrap

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published