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
Rahul Kumar
NA
43
9.3k
Remove Header and Footer from any page where we don't need
May 22 2018 5:32 AM
I have created Routes in Module.ts
const
routes: Routes = [
{
path:
""
,
children: [
{ path:
""
, component: HomeComponent },
{ path:
"contact"
, component: ContactComponent },
{ path:
"support"
, component: SupportComponent },
{ path:
"event"
, component: EventComponent },
{ path:
"what-we-do"
, component: WhatWeDoComponent },
//{ path: "school-adds", component: SchoolAddsComponent },
],
component: HomeComponent},
// not found handler
{ path:
"school-adds"
, component: SchoolAddsComponent },
{ path:
"**"
, redirectTo:
"/"
, pathMatch:
"full"
},
];
please tell me any best way to hide header and footer
Reply
Answers (
2
)
Npm install error, failed, reason: socket hang up
how to navigate to a page using <i> tag in angular 5