From a575628d8c006fa6fb1d9fa2f22d3d93b9e9e11a Mon Sep 17 00:00:00 2001 From: Caitlin Potter Date: Sun, 12 Jan 2014 00:37:25 -0500 Subject: [PATCH] docs(index): include required ngRoute script The demo on the homepage using ngRoute was apparently not including the angular-route script, which has been separate from angular core for some time now. This seems to have confused some people in the Freenode channel. --- index.html | 2 +- js/homepage.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index d85c0ac53..23bf5c8a5 100644 --- a/index.html +++ b/index.html @@ -270,7 +270,7 @@

Server Communication

-
+
diff --git a/js/homepage.js b/js/homepage.js index 1ed44a91b..53177e297 100644 --- a/js/homepage.js +++ b/js/homepage.js @@ -84,6 +84,7 @@ angular.module('homepage', []) return { angular: '\n', resource: '\n', + route: '\n', firebase: '\n \n' }; }) @@ -149,6 +150,7 @@ angular.module('homepage', []) ' \n' + ' ' + script.angular + (attrs.resource ? (' ' + script.resource.replace('>\n \n \n' +