AngularJS: $viewContentLoaded fired before partial view appears
For a partial view I want to do some JavaScript stuff that I usually would do with $(document).ready(function() {...}) , e.g. bind venet listeners to elements. I know that this doesn't work for AngularJS and partial views loaded into the "root" view. Thus I added a listener to the controller that listens to the $viewContentLoaded event. The listener's function is invoked, so the event is fired but it seems to me as if it is before the partial view is rendered. Neither do I see the elements when I set a breakpoint in the listener's function and debug it with firebug, nor does the jquery