How to use a pop-up at the beginning of the application?

Hello,

I’m sorry for my bad english.

Still new to Ionic I create a simple application.

I would like to start the application with a pop-up but I don’t know how to do it.

When you start a new application with Ionic, you can see at the end of app.js

 "*$urlRouterProvider.otherwise('/app/accueil');*"

This is to begin the application on the page accueil, but I want to start with "login()" for exemple.

Someone can help me?

Thanks

I have find a solution with this code:

Thanks for your attention