diff --git a/src/04-directive-soundManager.js b/src/04-directive-soundManager.js index 33d9b92..d1386f5 100644 --- a/src/04-directive-soundManager.js +++ b/src/04-directive-soundManager.js @@ -1,5 +1,5 @@ -ngSoundManager.directive('soundManager', ['$filter', 'angularPlayer', - function($filter, angularPlayer) { +ngSoundManager.directive('soundManager', ['$filter', '$timeout', 'angularPlayer', + function($filter, $timeout, angularPlayer) { return { restrict: "E", link: function(scope, element, attrs) {