I have created a new app with 'ionic start myApp io’ and setup the ID and API key. When I serve the app I get the error "Unknown provider: $ionicAnalyticsProvider <- $ionicAnalytics <- AnalyticsCtrl”.
I have already tried to add ‘ionic.service.analytics’ to my modules which seem to be missing. But then I get another error: “Uncaught TypeError: $ionicApp.getApiWriteKey is not a function”
What am I missing here? Thank you very much.