I have the following code :
Test.html:
<div>Test</div>
<dta-feed my-list="myList"></dta-feed>
TestCtrl.js
 angular.element(document).ready(function () {
  $scope.loadData();                
 });
 $scope.loadData = function () {
  $rootScope.$broadcast("testEvent");               
 }
dtafeed-directive.js
$scope.$on("testEvent", function () {
  console.log('Testing broadcast event');           
});
Can anyone help me to know h