Files
nextcloud-contacts/js/main.js
John Molakvoæ (skjnldsv) 5b8d161d74 Share into popover and copy to clipboard
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-02-18 19:12:50 +01:00

25 lines
675 B
JavaScript

/**
* Nextcloud - contacts
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Hendrik Leppelsack <hendrik@leppelsack.de>
* @copyright Hendrik Leppelsack 2015
*/
angular.module('contactsApp', ['uuid4', 'angular-cache', 'ngRoute', 'ui.bootstrap', 'ui.select', 'ngSanitize', 'angular-click-outside', 'ngclipboard'])
.config(function($routeProvider) {
$routeProvider.when('/:gid', {
template: '<contactdetails></contactdetails>'
});
$routeProvider.when('/:gid/:uid', {
template: '<contactdetails></contactdetails>'
});
$routeProvider.otherwise('/' + t('contacts', 'All contacts'));
});