0
Some jQuery functions or Angular directives are not loaded or rendered on page loading.
At various points of the APP I had to apply the timeout to work everything normally.
I’m currently loading the angular this way, and right below I load the jquery, was the only solution for it to work, even if with timeout:
angular.element(document).ready(function(){
angular.bootstrap(document, ['app']);
jQuery(function($){
$(window).load(function(){
if($("#selection").length)
$(".languages").show();
What is the right way to use both at the same time and render everything without needing timeout?
I’d seen it before, but I didn’t even remember this directive... thanks Ricardo, hugs
– tiaguinhow