UNPKG

ionic-cordova-gulp-seed

Version:

Ionic & Cordova & Gulp seed with organized code, tests, bower support and some other stuff. Originated from ionic-angular-cordova-seed.

31 lines (26 loc) 682 B
/** * @license Angulartics v0.17.2 * (c) 2014 Luis Farzati http://luisfarzati.github.io/angulartics * License: MIT */ (function(angular) { 'use strict'; /** * @ngdoc overview * @name angulartics.debug * Enables analytics debugging to console */ angular.module('angulartics.debug', ['angulartics']) .config(['$analyticsProvider', function ($analyticsProvider) { $analyticsProvider.registerPageTrack(function (path) { console.log('Page tracking: ', path); }); /** * Track Event * @name eventTrack */ $analyticsProvider.registerEventTrack(function (action, properties) { console.log("Event tracking: ", action, properties); }); }]); })(angular);