Cordova + Angular JS initialization vectors

Asked

Viewed 55 times

1

I’m new in development with Angularjs and I’m starting to create an application, where before reaching the user login I need to validate if there is a database Sqlite, if inside the database I have the server link and if in the database I have the license to use.

If it was in a project with Jquery, I would simply do mine index.html perform the functions to identify the above conditions (along with a load or something of the type) and if valid, direct to a second html page with the application itself.

Would someone please give me a little light on how I do this? because I would like to maintain the structure of Angularjs (MVC) in all processes, without making any "technical resource"...

1 answer

0

Solution:

Basically, I have a page default that is called whenever the application is started, from then I direct the controller of this page to do all the treatments that are necessary and from then on (depending on the results) I redirect the application to the router which is the answer to the initial controller’s conditions.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.