mirror of https://github.com/nextcloud/contacts
10 lines
208 B
JavaScript
10 lines
208 B
JavaScript
|
app.controller('grouplistCtrl', ['$scope', 'ContactService', function($scope, ContactService) {
|
||
|
|
||
|
$scope.groups = [];
|
||
|
|
||
|
ContactService.getGroups().then(function(groups) {
|
||
|
$scope.groups = groups;
|
||
|
});
|
||
|
|
||
|
}]);
|