somafood-ng-analytics
v0.1.1
Published
Qulinary angular common code - Raygun error reporting
Downloads
2
Readme
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
- Broadcast
CURRENT_FOODIE_UPDATED
when the current foodie is updated so that its updated on the analytics side. Should happen inng-auth
- Add
trackLogout
inLoginCtrl > logout
on Logout success.
TODO:
- 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