Directives to schedule work that refreshes $scope


Build Status

AngularJS directives to schedule work that refreshes $scope.

Demo and docs

To see directives in action visit the demo.

Alternatively, browse the API reference


1. Reference dependencies

  • AngularJS
    • eg: <script src="//"></script>
  • Bootstrap's CSS
    • eg: <link href="//" rel="stylesheet"/>

2. Reference angular-cc-autorefresh

  • Either:
    • Download the latest cc-autorefresh-tpls-[version].min.js script file from here; OR
    • Install with bower. eg: bower install angular-cc-autorefresh
  • Add the reference (remember to replace 'your/path' and '[version]'). eg:
    • <script src="your/path/cc-autorefresh-tpls-[version].min.js"></script>

3. Add dependencies on the cc.autorefresh AngularJS module

Eg: javascript angular.module('myModule', ['cc-autorefresh']);

comments powered by Disqus
This page was last updated over 3 years ago.