title: Using $broadcast inside $interval in AngularJS
body: <p>I've search this site and googled but can't find an answer, I have one module for services and another one for the app itself, inside the services module I have:</p>
  
  <pre><code>$interval(function(){
      $rootScope.$broadcast('tick');
  },1000);
  </code></pre>
  
  <p>and in the app section I have:</p>
  
  <pre><code>$scope.$on('tick'), function(event){
      alert('tick');
  }
  </code></pre>
  
  <p>I took this model from this <a href="http://jsfiddle.net/brendanowen/ADukg/51/" rel="nofollow">jsfiddle</a>.
  Apparently the 'tick is triggered as no error is shown on console, but the app code never executes...</p>