currently in the company project, the angular component $uibModal
is referenced. Now there is a business scenario, when you open the modal box, do not operate, every once in a while, the login timeout, automatically jump back to the login page, when logged in, the modal box still exists. Now I intend to check whether it is a modal box when logging in, and close it if there is one. Now I am logging in to controller and injecting $uibModalInstance
, but the system reported an error and never understood the reason. The screenshot is as follows:
I wonder if any great god has ever encountered such a situation?