TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Hrides Thakur
NA
292
47.4k
Login and redirect to home page, home has menu in angular 2
Jun 29 2018 6:19 AM
Hi
i have this below structure in my angular 2 project.
app.component has router-outlet. i have login component which is the first screen when open the application.
it comes corrent it opens my login page when i login and redirect to home screen which has my application menu bar it opens correctly, but when i click on the menu and redirect to another screen, it redirect corectly but my mene gone. please let me know the proper structure where i should write router-outlet or correct structur for login.component and app.component.
i bootstrap my app.component in app.module
Please check here my application https://angular-full.stackblitz.io
userid: 12345
password:12345
Reply
Answers (
3
)
Static Injector Error while using service in Angular.
Function not evaluating