Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/toddmotto/track-digests

A simple Directive to track $digest counts
https://github.com/toddmotto/track-digests

Last synced: 11 days ago
JSON representation

A simple Directive to track $digest counts

Awesome Lists containing this project

README

        

# track-digests.js

trackDigests for AngularJS. Include the `` element to see how frequent `$digest` cycles run, and see what triggers them.

Track $digests

> [Working jsFiddle example](http://jsfiddle.net/toddmotto/6t5wy6wx)

#### Usage
Include `track-digests.js` in your AngularJS application as a dependency:

```js
angular.module('app', [
'voux.trackDigests'
]);
```

Then simple include the `` element anywhere inside your `ng-app` :

```html






```

## Installing with Bower

```
bower install https://github.com/toddmotto/track-digests.git
```

## Manual installation
Ensure you're using the files from the `dist` directory (contains compiled production-ready code). Ensure you place the script before the closing `




angular.module('app', [
'voux.trackDigests'
]);