This commit is contained in:
Athou
2013-04-27 06:43:07 +02:00
parent 791aede4cf
commit 71213bfcd8

View File

@@ -2,7 +2,7 @@ var module = angular.module('commafeed.services', [ 'ngResource' ]);
module.service('AnalyticsService', [ '$state', function($state) { module.service('AnalyticsService', [ '$state', function($state) {
this.track = function(path) { this.track = function(path) {
if (typeof variable === 'undefined') { if (typeof ga === 'undefined') {
return; return;
} }
path = path || $state.$current.url.prefix; path = path || $state.$current.url.prefix;