ng-zav-modal | A Angular-js powered module to integrate a modal window popup with your app

ng-zav-modal directive

ng-zav-modal

Stars : 10

Forks : 10

Created by 42Zavattas

bower install ng-zav-modal

Demo Download GitHub

ngZavModal Build Status Coverage Status Code Climate

Install

bower install ng-zav-modal --save

Insert css file:

<link rel="stylesheet" href="bower_components/ng-zav-modal/dist/ng-zav-modal.min.css">

Insert js files:

<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/gsap/src/uncompressed/TweenMax.js"></script>
<script src="bower_components/ng-zav-modal/dist/ng-zav-modal.min.js"></script>

Enable angular module:

angular.module('myApp', ['ngZavModal']);

Usage

<zav-modal trigger="openModal">
  I'm the content.
</zav-modal>

<button ng-click="openModal = true">
  Open modal
</button>

Javscript

Javascript plugin

Angular-js