I try to run JQuery after dom rendering. Here is the code:
angular.module('testCtrl', ['testService'])
.controller('testController', ['$scope', '$timeout', 'Test', function($scope,$timeout, Test) {
    var vm = this;
        Test.getFromServer().success(function(data) {
            vm.result = data;
            vm.processing = false;
     });
}]);<test ng-controller="testController as test" >
<note id="note">{{test.result}}</note>The "getFromServer" function is an asynchronous call to the server that retrieve some HTML.
I want to manipulate this html with JQuery.
What should I use ? directive ? $watch ? $broadcast ?
Could you please give me a running example ?
 
    