0.1.1 • Published 8 years ago

somafood-ng-analytics v0.1.1

Weekly downloads
4
License
UNLICENSED
Repository
bitbucket
Last release
8 years ago

somafood-ng-analytics

Qulinary Analytics (wrapper for intercom & segment)

Pre-requisites

  • Node
  • Bower
  • Grunt

Setup your SSH keys in Bitbucket. See instructions

Installation

npm install
bower install
grunt test

Usage

  1. Broadcast CURRENT_FOODIE_UPDATED when the current foodie is updated so that its updated on the analytics side. Should happen in ng-auth
  2. Add trackLogout in LoginCtrl > logout on Logout success.

TODO: 1. Externalize state history --> remove dependency on $ionicHistory. Remove stateChangeListening from here, and add it to the app.run of the parent app.

Contributing

  • Conform to .jshintrc and .jsbeautifyrc
  • Run grunt codequality to test your code
  • Run grunt jsbeautifier:fix to quickly format your code