angular-weblogng

AngularJS module for the WeblogNG client library.

Angular Core Dependency: >= 1.2.0

Module License: MIT

Added by: Sam Deering

GitHub

Repository

weblogng/angular-weblogng

Stats

Stars: 0

Watchers: 0

Forks: 0

Author

WeblogNG
WeblogNG

Module Description

Build Status

angular-weblogng

angular-weblogng is an AngularJS module for the WeblogNG Javascript Client library

angular-weblogng provides:

  • automatic measurement and reporting of application load time
  • automatic measurement and reporting of requests made with the $http service
  • automatic measurement of the number of active users
  • easy access to the WeblogNG Javascript Client library

Installation

Using Bower:

bower install angular-weblogng --save

Or grab the source (minified).

Usage

The WeblogNG module can be integrated into an application by:

  1. include the angular-weblogng.js and WeblogNG Logger scripts in your application, e.g. bower_components/angular-weblogng/dist/angular-weblogng.js and bower_components/weblogng-logger/release/logger.js
  2. define the 'weblogng' module as one of the application's dependencies
  3. declare the 'weblogngConfig' constant

Example app configuration with the WeblogNG module:

angular.module('yourAppModule', [
    'weblogng'
  ])
  .constant('weblogngConfig', {
    apiKey: 'your api key',
    options: {
      publishNavigationTimingMetrics: true,
      publishUserActive: true,
      application: 'your application name'
    }
  })
  

Documentation

Detailed documentation is available at docs.weblogng.com

Contributing

We'd love to consider your contribution! Please:

  • Provide a comprehensive suite of tests for your fork.
  • Have a clear and documented rationale for your changes.
  • Package these up in a pull request.

We'll do our best to help you out with any contribution issues you may have.

Developing

Use the grunt watch command to execute the build continuously during development.

License

MIT. See LICENSE.txt in this directory.

Module stats last updated: 2015-06-04 23:18:54

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!