From 971dba51ed2dae82ce321315f9c283a0effce0fd Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Thu, 23 Jul 2015 14:21:34 -0700 Subject: [PATCH] Clear up confusion in readme.md about initializing mixpanel Resolve Issue #13 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f0273c5..b859f06 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ angular.module('myApp', ['analytics.mixpanel']); Minimally you'll need to configure your API key like so: ```javascript - angular.module('analytics.mixpanel') + angular.module('myApp') .config(['$mixpanelProvider', function($mixpanelProvider) { $mixpanelProvider.apiKey(''); // your token is different than your API key }]); @@ -38,7 +38,7 @@ Minimally you'll need to configure your API key like so: You can also supply [super properties](https://mixpanel.com/help/reference/javascript#super-properties): ```javascript - angular.module('analytics.mixpanel') + angular.module('myApp') .config(['$mixpanelProvider', function($mixpanelProvider) { $mixpanelProvider.apiKey(''); // your token is different than your API key