This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using this modal found here - http://refills.bourbon.io/components/ copy the css as is and note the source of the custom modal directive will be the html plus some amends shown below. | |
add the modal (modal-dialog tag) to your Angular template file and add a couple of native directives to the body tag | |
ex | |
<body ng-app="baApp" ng-controller="MainCtrl" data-ng-init="init()" ng-class="{open: modalFlag, closed: !modalFlag}"> | |
<modal-dialog></modal-dialog> | |
(create a new template file 'modal.html') add code to modal.html |