I'm new to development with AngularJS and I'm starting to create an application, where before getting to user login I need to validate if there is a SQLite database, if inside the database I have the server link and in the bank I have the license to use.
If it was in a project with Jquery, I would simply make my index.html run the functions to identify the above conditions (along with a load or something) and if valid, second page html with the application itself.
Someone, please could you give me a light of how I do this? because I would like to keep the structure of AngularJS (MVC) in all processes, without making any "technical resources" ...