webgui: moved events controller to events service

This commit is contained in:
Sergey Mishin
2015-06-14 17:17:48 +03:00
parent 6a6593c656
commit 2449f1e1b6
5 changed files with 127 additions and 95 deletions

View File

@@ -23,8 +23,6 @@
</head>
<body>
<div ng-controller="EventController"></div>
<!-- Top bar -->
<nav class="navbar navbar-top navbar-default" role="navigation">
@@ -1118,7 +1116,7 @@
<!-- gui application code -->
<script src="scripts/syncthing/core/module.js"></script>
<script src="scripts/syncthing/core/controllers/eventController.js"></script>
<script src="scripts/syncthing/core/services/events.js"></script>
<script src="scripts/syncthing/core/controllers/syncthingController.js"></script>
<script src="scripts/syncthing/core/directives/identiconDirective.js"></script>
<script src="scripts/syncthing/core/directives/languageSelectDirective.js"></script>