Bootstrap3 modal service with responsive and more feature
4 people use it
Author: 89452b2bf334c3be8966228c87496b96? sarath2


Angularjs Bootstrap 3 Modal service - Ekathuwa

Examples: ngEkathuwa

This given you to easily handle Bootstrap 3 Modal window with Angularjs.
It is more flexible...
It is responsive...
Can be use custom sizes...
Working with templates...

Getting Start

  1. Include <link rel="stylesheet" href="//"> in the head of your document.
  2. Include <script src="//"></script>
  3. Include <script src="//"></script>
  4. Then include ekathuwa.min.js
  5. Declare a module dependency, in your module '[ngEkathuwa']
  6. Declare a controller dependency, in your controller $ekathuwa
  7. Then use it $ekathuwa.modal(options)

Ekathuwa examples

$ekathuwa.modal({ id: "ekathuwaModalTempId", scope: $scope, templateURL: "./views/modal-template1.html" });

$ekathuwa.modal({ id: "ekathuwaBodyTempLId", scope: $scope, bodyTemplateURL: './views/modal-template-body.html' });

$ekathuwa.modal({ id: "ekathuwaBodyTempLHTMLId", scope: $scope, bodyTemplate: 'This is a modal body' });

$ekathuwa.modal({ id: "ekathuwaModalId", scope: $scope, footer: false });


Copyright 2013 Sarath Ambegoda. Released under the MIT License (MIT).

comments powered by Disqus
This page was last updated about 5 years ago.