I'm using the LocaStyle framework for development, so it runs certain plugin functions like jquery.mask.js and applies to the required elements.
However, sometimes it happens that the plugin runs before the view is loaded, causing it to have no effect on the page.
How can I check if Angular already loaded and view and only then load the script?