AngularJS directives to schedule work that refreshes $scope.
To see directives in action visit the demo.
Alternatively, browse the API reference
- AngularJS
- eg:
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
- eg:
- Bootstrap's CSS
- eg:
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet"/>
- eg:
- Either:
- Download the latest
cc-autorefresh-tpls-[version].min.js
script file from here; OR - Install with bower. eg:
bower install angular-cc-autorefresh
- Download the latest
- Add the reference (remember to replace 'your/path' and '[version]'). eg:
<script src="your/path/cc-autorefresh-tpls-[version].min.js"></script>
Eg:
angular.module('myModule', ['cc-autorefresh']);