From 7ee102eecf927c5a481c6d16b5ff08bfe9563bdc Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 18 Nov 2010 16:53:11 -0800 Subject: add a feedback link to the doc pages --- docs/docs.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/docs.js') diff --git a/docs/docs.js b/docs/docs.js index 8c836049..a475b7b6 100644 --- a/docs/docs.js +++ b/docs/docs.js @@ -34,6 +34,12 @@ function DocsController($location, $browser, $window) { $window.scroll(0,0); SyntaxHighlighter.highlight(); }; + + this.getFeedbackUrl = function() { + return "mailto:angular@googlegroups.com?" + + "subject=" + escape("Feedback on " + $location.href) + "&" + + "body=" + escape("Hi there,\n\nI read " + $location.href + " and wanted to ask ...."); + } } -- cgit v1.2.3