From 639a44d99629ba38e67eb04df8c8c9622093de70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sat, 20 Sep 2014 16:55:38 +0200 Subject: [PATCH] accounts progress --- src/app/controllers/pro/accountCtrl.js | 7 +++++++ src/app/partials/pro/account.html | 10 ++++++++++ 2 files changed, 17 insertions(+) diff --git a/src/app/controllers/pro/accountCtrl.js b/src/app/controllers/pro/accountCtrl.js index c77f9aeba92..8325c698254 100644 --- a/src/app/controllers/pro/accountCtrl.js +++ b/src/app/controllers/pro/accountCtrl.js @@ -15,7 +15,12 @@ function (angular) { }; $scope.getAccountInfo = function() { + $http.get('/api/account').then(function(result) { + $scope.account = result.data; + console.log("value", result.data); + }, function(err) { + }); }; $scope.addCollaborator = function() { @@ -35,5 +40,7 @@ function (angular) { }); }; + $scope.init(); + }); }); diff --git a/src/app/partials/pro/account.html b/src/app/partials/pro/account.html index 32372a62fcc..8deb137496c 100644 --- a/src/app/partials/pro/account.html +++ b/src/app/partials/pro/account.html @@ -80,6 +80,7 @@
+
@@ -89,6 +90,15 @@
+ +
+ + + +
{{collaborator.accountId}} +
+
+