How to detect login and then not show slide templates when you start the app


I’m starting an app which contains a template of aid before the user logs in, as I do to detect this logeo not show template to help start the app.


You could create a variable and store it in the local storage.


// Called to navigate to the main app
  $scope.startApp = function() {
    localStorage.seenIntro = true;


//If user hasn't seen the introduction to the app


worked for me, thanks!