From 16d0354f934c4f2e185ea9692c9d4039474d0b19 Mon Sep 17 00:00:00 2001
From: Vojta Jina
Date: Thu, 26 May 2011 22:00:45 +0200
Subject: Load GA script using $script loader
---
docs/src/templates/index.html | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
(limited to 'docs')
diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html
index 9bdf977b..d6afd478 100644
--- a/docs/src/templates/index.html
+++ b/docs/src/templates/index.html
@@ -30,6 +30,7 @@
'docs-combined.js',
'docs-keywords.js'], function(){
angular.compile(document)();
+ $script(('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js');
});
});
});
@@ -88,14 +89,5 @@