Git Product home page Git Product logo

angular-login-hide-navbar's Introduction

Hi there ๐Ÿ‘‹

I'm Loiane Groner, a hands-on Software Engineering Manager, and I've been working in tech since 2006.

I love contributing to the community with blog posts, videos, and books.

For my contributions to the developer community, I was honored by being given the titles Microsoft MVP, Google Developer Expert in Angular, Oracle ACE and Java Champion.

Twitter Follow Linkedin: loiane Youtube: loianegroner


๐Ÿ“ Recent Articles


๐Ÿ“น Recent Videos on YouTube


โšก Technologies

These are some of the technologies and tools that I work with:

Backend: Java Spring NestJS

Frontend JavaScript HTML5 CSS3 Sass Bootstrap TypeScript Angular

Database: Microsoft SQL Server MongoDB MySQL

Cloud: Microsoft Azure Firebase Oracle Cloud

Tools: Docker Git GitHub BitBucket JIRA JFrog

IDEs: IntelliJ Eclipse VSCode

angular-login-hide-navbar's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-login-hide-navbar's Issues

App crashes after i click a link!

Hi, i was following your tutorial and did every time just the same except for the routes because i need to use a API for the authentication. Either way, it crashes wherever I click over a route link, can you help me? This my auth.service.ts file:

forget about this code

I just noticed that it was about a infinite loop that i had in my auth.guard.ts but even thought this logic keeps the user away from the register and login views, it does not changes hide those to navbar buttons which i defined like this on my header.component.html:

<ul class="navbar-nav ml-auto">
      <li class="nav-item" *ngIf="!loggedIn">
        <a class="nav-link" routerLink="login" routerLinkActive="active">Ingresar</a>
      </li>
      <li class="nav-item" *ngIf="!loggedIn">
        <a class="nav-link" routerLink="register" routerLinkActive="active">Registrarse</a>
      </li>
      <li class="nav-item" *ngIf="loggedIn">
        <a class="nav-link" (click)="onLogout()">Desconectarse</a>
      </li>
    </ul>

Add Pipe Directive

Uncaught Error: Unexpected module 'AppMaterialModule' declared by the module 'AppModule'. Please add a @Pipe/@Directive/@component annotation.
at syntaxError (compiler.js:1021)
at compiler.js:10639
at Array.forEach ()
at CompileMetadataResolver.push../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver.getNgModuleMetadata (compiler.js:10621)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._loadModules (compiler.js:23876)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndComponents (compiler.js:23857)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler.compileModuleAsync (compiler.js:23817)
at CompilerImpl.push../node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js.CompilerImpl.compileModuleAsync (platform-browser-dynamic.js:143)
at PlatformRef.push../node_modules/@angular/core/fesm5/core.js.PlatformRef.bootstrapModule (core.js:4344)
at Module../src/main.ts (main.ts:11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.