User Login Screen - First Screen

Hi Everyone,

I’m making an application. I create the menu and tab design. But I want you to come directly to the login screen of the user login page. After the login page I want to show the other screen. How could you advise on this issue.

Design as it had a similar screen. My code looks like this.

In your app.js file or where ever you have your routes, set the default route to your login page, something like this:

// if none of the above states are matched, use this as the fallback
$urlRouterProvider.otherwise('splash');

The above code will fall back to the splash screen when you open your app for the first time.

it will be better to create some user service that will check login status on app run and redirect to login view if it necessary