Element ready after appending data.

In jquery, there I can catch callback when data is fully loaded .

I wanted to knwo maybe in angularjs has too.
I searched much time and find out how to use
below is just example.


angular.element(document.querySelector('#contentBox')).append(data).ready(function(){
//                alert('ready complete');
         $scope.loaded();

});


and 

angular.element i can use jquery lite 
reference by 

Comments

Popular posts from this blog

Project euler 169 found clue

Floyd-Warshall's algorithm