From 248f4c91a53dbe919ce4fd2790e67e540bc01a1c Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 17 Nov 2015 09:52:12 +0000 Subject: [PATCH] refact(app): use recommended `controller as` syntax Updated site controllers and directives to use controller as syntax Closes #84 Closes #135 --- public/docs/ts/latest/guide/cheatsheet.jade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/docs/ts/latest/guide/cheatsheet.jade b/public/docs/ts/latest/guide/cheatsheet.jade index cd22178a1a..e171a2dd2f 100644 --- a/public/docs/ts/latest/guide/cheatsheet.jade +++ b/public/docs/ts/latest/guide/cheatsheet.jade @@ -16,11 +16,11 @@ article(class="l-content-small grid-fluid docs-content") br br - table(ng-repeat='section in cheatsheet' ng-cloak) + table(ng-repeat='section in appCtrl.cheatsheet' ng-cloak) tr th {{section.name}} - th(ng-bind-html="getSafeHtml(section.description)") + th(ng-bind-html="appCtrl.getSafeHtml(section.description)") tr(ng-repeat='child in section.items') td code(bold='child.bold') {{child.syntax}} - td(ng-bind-html="getSafeHtml(child.description)") + td(ng-bind-html="appCtrl.getSafeHtml(child.description)")