Skip to content

Commit

Permalink
fix: wait for angular document ready
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Nov 3, 2020
1 parent 63233fc commit a6991b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/assets/javascripts/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,7 @@ async function startApplication(
});
}

angular.bootstrap(document, ['app']);
angular.element(document).ready(() => {
angular.bootstrap(document, ['app']);
});
}

0 comments on commit a6991b1

Please sign in to comment.