How to update the meta tag in angular2 universal?

4 views
Skip to first unread message

kri...@divum.in

unread,
Jul 25, 2017, 7:40:04 AM7/25/17
to Angular and AngularJS discussion
We are using Angular2 universal. We are trying to update the meta tag using ng2-meta. This works for JIT build but not for aot or universal. 

What is the option to update the meta tag using server side rendering. 

Sander Elias

unread,
Jul 25, 2017, 7:51:59 AM7/25/17
to Angular and AngularJS discussion
Hi Krishna,

You can use the meta tag service

Regards
Sander
Reply all
Reply to author
Forward
0 new messages