An open API service indexing awesome lists of open source software.

https://github.com/dmosyash/modal-directive


https://github.com/dmosyash/modal-directive

angular bootstrap directives modal

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# modal-directive

A simple and light-weighted solution for making Bootstrap modal.
This directive is to include Bootstrap modal without any extra code.

# How to Install
`bower install modal-directive`

# Configration

Include `'ngModal'` into dependencies of your app.
`angular.module('yourApp', [
'ngModal'
])`

# Example

`
Hello hi
`


Attributes are:

| Attribute | Default | Type | Description |
| -------------- | ------- | ------- | ------------------------------------------------------- |
| title | null | String | Title placed in the header of the modal dialog. |
| visible | false | Boolean | True for show the modal and False for hide the modal |