The very deep tree structure didn't really aggree with me, sorry. This makes the core module rather large, but on the other hand that just highlights that it is rather large.
17 lines
404 B
JavaScript
17 lines
404 B
JavaScript
angular.module('syncthing.core')
|
|
.directive('modal', function () {
|
|
return {
|
|
restrict: 'E',
|
|
templateUrl: 'modal.html',
|
|
replace: true,
|
|
transclude: true,
|
|
scope: {
|
|
title: '@',
|
|
status: '@',
|
|
icon: '@',
|
|
close: '@',
|
|
large: '@'
|
|
}
|
|
};
|
|
});
|