check out ng-show and ng-if directives.
On Wed, Jul 30, 2014 at 7:03 AM, Leonan Luppi <[email protected]> wrote: > Hello Guys, > > I have a java web application built with angularJS. So I've a index.html, > inside I've create a <div ng-view></div> to display my routes, but inside > index.html I always have a menu (to show only with the user is logged) and > other things.. So I've a login.html to display my signin page, when I click > to logIn I need to show my menu(inside index.html) and hide this when I'm > back to signin page.. Someone has any idea how to do this? > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
