下面的是指令代码和服务代码。如何调用service.And内部的指令如何调用动态模板angular.module('TestModule').directive('mymodalwindow', function ()class="modal-header">' +
'<h3>{{modalOption
当我从控制器调用notificationService.showNotification("Test from controller")时,指令视图中的消息将被更新,但是当我从另一个服务调用notificationService.showNotification("Test from another service")时,指令视图中的消息不会被更新。当currentNotification.me