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
bishoe nb
NA
623
80.2k
How to replace static data with a data list angular & api
Feb 21 2019 6:06 AM
How to replace static data with a data list angular and web api 4
code angular here
https://stackblitz.com/angular/dnbermjydavk?file=app%2Ftable-overview-example.html
how can replace this
const
NAMES = [
'Maia'
,
'Asher'
,
'Olivia'
,
'Atticus'
,
'Amelia'
,
'Jack'
,
'Charlotte'
,
'Theodore'
,
'Isla'
,
'Oliver'
,
'Isabella'
,
'Jasper'
,
'Cora'
,
'Levi'
,
'Violet'
,
'Arthur'
,
'Mia'
,
'Thomas'
,
'Elizabeth'
];
with
getCat_NewsList()
this
.http.get(
'http://localhost:1858/api/Cat_News'
).map((data: Response) =>{
return
data.json() as ICategoryModule[];
}).toPromise().then(x=>{
this
.Cat_NewsList =x;
});
i want this
To show my menu instead of the fixed menu
Reply
Answers (
2
)
tslint-html-report
React vs Angular