From 8d754d9ebd34eda9aa78675d4ca68b685fa76397 Mon Sep 17 00:00:00 2001 From: pazams Date: Sat, 3 Oct 2015 15:10:11 +0300 Subject: [PATCH 1/2] in controller-as syntax use $scope only for tasks beyond trivial bindings such as defining $watch and $on (http://toddmotto.com/digging-into-angulars-controller-as-syntax/) --- www/index.html | 16 ++--- www/js/overview.controller.js | 131 +++++++++++++++++++--------------- 2 files changed, 81 insertions(+), 66 deletions(-) diff --git a/www/index.html b/www/index.html index 5bf02ff..587e8f5 100644 --- a/www/index.html +++ b/www/index.html @@ -28,17 +28,17 @@ - +

🎂 Birthdays 🎉

- +
- +
{{ b.Name }}
{{ b.Date | date:"dd MMMM yyyy" }}
@@ -49,22 +49,22 @@

🎂 Birthdays 🎉