From 04b992e1f130f8f9cc7bd61830fe4cbfa2c827de Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 28 May 2015 13:48:45 -0400 Subject: [PATCH] (js) Make use of 'controllerAs' in Contacts module --- .../ContactsUI/UIxContactEditorTemplate.wox | 128 +++++----- .../ContactsUI/UIxContactFoldersView.wox | 99 ++++---- .../ContactsUI/UIxContactViewTemplate.wox | 60 ++--- UI/WebServerResources/js/Contacts.app.js | 15 +- .../js/Contacts/AddressBook.service.js | 163 ++++++++----- .../js/Contacts/AddressBookController.js | 40 +-- .../js/Contacts/AddressBooksController.js | 227 +++++++++++------- .../js/Contacts/CardController.js | 103 ++++---- 8 files changed, 473 insertions(+), 362 deletions(-) diff --git a/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox b/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox index 0a2381de8..39a10743a 100644 --- a/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox +++ b/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox @@ -5,73 +5,73 @@
-

-
{{card.$description()}}
+

+
{{editor.card.$description()}}
-
+ -
- - -
- -
-
+
- - +
- +