# Login/Signup Screens

**URL:** <https://forum.ionicframework.com/t/login-signup-screens/276>\
**Category:** ionic-v1\
**Created:** [December 17, 2013, 3:08pm UTC](https://forum.ionicframework.com/t/login-signup-screens/276 "2013-12-17T15:08:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdr001](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@sdr001](https://forum.ionicframework.com/u/sdr001)\
**Post date:** [December 17, 2013, 3:08pm UTC](https://forum.ionicframework.com/t/login-signup-screens/276/1 "2013-12-17T15:08:14Z")

</div>

Hello, I am very new to ionic and I am loving it so far. I have a question on different looking screens. I will basically have two screens (login/signup) without a tab bar and the rest will. How can I have two different views? Thank you in advanced.

Sean

---

<div class="post-metadata">

**Author:** ![adam](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/adam/32/63947_2.png) [@adam](https://forum.ionicframework.com/u/adam)\
**Post date:** [December 17, 2013, 4:16pm UTC](https://forum.ionicframework.com/t/login-signup-screens/276/2 "2013-12-17T16:16:18Z")

</div>

That exact problem is something I’m tackling right now. Hang tight!

---

<div class="post-metadata">

**Author:** ![felix\_lechevall](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@felix\_lechevall](https://forum.ionicframework.com/u/felix_lechevall)\
**Post date:** [December 17, 2013, 11:11pm UTC](https://forum.ionicframework.com/t/login-signup-screens/276/3 "2013-12-17T23:11:13Z")

</div>

Hi!  
Had the same issue. A quick workaround: add an ng-show to your div containing the tabs in your main.html:

```
<div class="tabs tabs-global tabs-icon-top" ng-show="pathisnotlogin">
    <a class="tab-item" href="#/vinibar">
        <i class="icon ion-home"></i>
        Vinibar
    </a>
</div>

```

And then, in your app’s main controller, watch for a route change and update the $scope.pathisnotlogin to true when you are not in these two views:

```
.controller('MainCtrl', function($scope, , $route, $location) {
$scope.$on('$routeChangeSuccess', function() {
    var path = $location.path();
    console.log(path);
    $scope.pathisnotlogin = true;
    if(path === '/login') {
       $scope.pathisnotlogin = false;
    } else {
       $scope.pathisnotlogin = true;
    }
  });
});
```

---

<div class="post-metadata">

**Author:** ![gbox](https://avatars.discourse-cdn.com/v4/letter/g/ccd318/32.png) [@gbox](https://forum.ionicframework.com/u/gbox)\
**Post date:** [February 7, 2014, 4:17pm UTC](https://forum.ionicframework.com/t/login-signup-screens/276/4 "2014-02-07T16:17:51Z")

</div>

Has anyone found a solution for this yet?

I’m currently battling with the side menu. While my login page doesn’t have one all other pages have a side menu.

I guess I could just display nothing in the side menu but I would prefer to have no side menu at all until a successful login.

---

<div class="post-metadata">

**Author:** ![adam](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/adam/32/63947_2.png) [@adam](https://forum.ionicframework.com/u/adam)\
**Post date:** [February 7, 2014, 5:20pm UTC](https://forum.ionicframework.com/t/login-signup-screens/276/5 "2014-02-07T17:20:08Z")

</div>

I put together a demo here that may help:

> [@Sign-in page without tabs, then once signed-in tabs show](http://forum.ionicframework.com/t/sign-in-page-without-tabs-then-once-signed-in-tabs-show/919):
>
> This demo shows that an entire app does not have to be in tabs and can be used later by other views. But at the same time, only one set of tabs needs to be written for each view that should be inside a tab: [Updated link: http://codepen.io/ionic/pen/CbBsA](http://codepen.io/ionic/pen/CbBsA) Old link: [http://codepen.io/ionic/pen/kcjLb](http://codepen.io/ionic/pen/kcjLb)

---

<div class="post-metadata">

**Author:** ![gbox](https://avatars.discourse-cdn.com/v4/letter/g/ccd318/32.png) [@gbox](https://forum.ionicframework.com/u/gbox)\
**Post date:** [February 7, 2014, 11:00pm UTC](https://forum.ionicframework.com/t/login-signup-screens/276/6 "2014-02-07T23:00:45Z")

</div>

Wow, that’s great Adam. Thank you so much.

I thought it might come down to using an abstract state.

I think that’s certainly a good option for the tabs but it doesn’t feel right for me when it comes to the side menu.

---

<div class="post-metadata">

**Author:** ![adam](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/adam/32/63947_2.png) [@adam](https://forum.ionicframework.com/u/adam)\
**Post date:** [February 9, 2014, 7:32pm UTC](https://forum.ionicframework.com/t/login-signup-screens/276/7 "2014-02-09T19:32:25Z")

</div>

Have you come across this side menu demo yet?  
[http://codepen.io/ionic/pen/EtbrF](http://codepen.io/ionic/pen/EtbrF)

---

<div class="post-metadata">

**Author:** ![biapar](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/biapar/32/64378_2.png) [@biapar](https://forum.ionicframework.com/u/biapar)\
**Post date:** [May 8, 2014, 10:50am UTC](https://forum.ionicframework.com/t/login-signup-screens/276/8 "2014-05-08T10:50:45Z")

</div>

The Link don’t work.

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [May 8, 2014, 12:29pm UTC](https://forum.ionicframework.com/t/login-signup-screens/276/9 "2014-05-08T12:29:46Z")

</div>

[http://codepen.io/ionic/public-list](http://codepen.io/ionic/public-list) : You can go through all these samples for different ideas.
