Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49168

Best practices on start-up logic processing

$
0
0

@nerdlandiamark wrote:

In my (Ionic 1) app I perform some start-up processing; checking for state and redirecting to various views based on its existence. This works - but I don't feel comfortable with my implementation. In the module's stateprovider I have an "app.start" route that executes the controller (and it's associated view, which is just a base "home" page). This route is fired from the the $urlRouterProvider.otherwise. Since redirects are performed Im not sure a service is the logical place. Any ideas/experience? Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>