'use strict';

angular.module('app')
	.directive('analytics', ['$rootScope', '$location',
    	function ($rootScope, $location) {
    	return {
        	link: function (scope, elem, attrs, ctrl) {
            	$rootScope.$on('$routeChangeSuccess', function(event, currRoute, prevRoute) {
                	ga('set', 'page', $location.path());
                	ga('send', 'pageview');
            	});
        	}
    	}
	}]);
@@ -224,26 +224,25 @@
 n('$
-routeChangeSuccess
+viewContentLoaded
 ', f
@@ -415,8 +415,9 @@
 %09%7D%0A%09%7D%5D);
+%0A

Update analytics.js