Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/toddmotto/track-digests
- Owner: toddmotto
- License: other
- Created: 2015-11-17T13:08:05.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-17T14:14:18.000Z (almost 9 years ago)
- Last Synced: 2024-10-12T08:10:10.662Z (28 days ago)
- Language: JavaScript
- Homepage: http://voux.io
- Size: 5.86 KB
- Stars: 21
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
> [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'
]);