angular-cc-autorefresh

Directives to schedule work that refreshes $scope

angular-cc-autorefresh

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

Installation

1. Reference dependencies

  • AngularJS
    • eg: <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
  • Bootstrap's CSS
    • eg: <link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" 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.