Angular wrapper for Revealjs presentation library.
- Get ng-reveal in one of the following ways:
- Clone/Download this repository
- COMING SOON reference CDN: https://s3.amazonaws.com/prescottprue/ng-reveal/current/ng-reveal.js
- COMING SOON via Bower: by running
$ bower install ng-reveal
from your console - COMING SOON or via npm: by running
$ npm install ng-reveal
from your console
-
Include
ng-reveal.js
(orng-reveal.min.js
) in yourindex.html
, after including Angular itself. -
Add
'reveal'
to your main module's list of dependencies.
When you're done, your setup should look similar to the following:
<!doctype html>
<html ng-app="myApp">
<head>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.0/angular.min.js"></script>
<script src"//cdnjs.cloudflare.com/ajax/libs/reveal.js/3.0.0/js/reveal.min.js"></script>
<script src="js/ng-reveal.min.js"></script>
<script>
var myApp = angular.module('myApp', ['reveal']);
</script>
</head>
<body>
<div class="reveal" >
<!-- Any section element inside of this container is displayed as a slide -->
<ng-reveal slides="projects" c>
</ng-reveal>
</div>
</body>
</html>
Coming Soon