diff --git a/html/main.html b/html/main.html index 757fd9b0..21c4f6c3 100644 --- a/html/main.html +++ b/html/main.html @@ -11,7 +11,7 @@
<%template "logo" .%>
- +
@@ -42,7 +42,6 @@
-
{{id}}
<%template "extra-body" .%> <%end%> \ No newline at end of file diff --git a/static/js/directives/statusmessage.js b/static/js/directives/statusmessage.js index a38df481..33d75d9c 100644 --- a/static/js/directives/statusmessage.js +++ b/static/js/directives/statusmessage.js @@ -20,15 +20,16 @@ */ define(['text!partials/statusmessage.html'], function(template) { - // statusMessage - return ["$compile", function($compile) { + // statusMessage + return [function() { - return { - restrict: 'E', - replace: true, - template: template - } + return { + restrict: 'E', + replace: true, + template: template, + controller: "StatusmessageController" + } - }]; + }]; });