How to insert echo get post ID into ionic


#1

Hello everyone,
I want to fetch our Wordpress to ionic app and I’ve use below link.

I’ve changed our API URL and it’s work well but I can’t see our Video link which is in custom filed and not in body of post.

based on some guide and documents of our Template ( Turemag ) we should have change as below code for show video in the app:

echo get_post_meta($post->ID, ‘tm_video_code’, true);
I try several way to add in our post or in the app.js file but doesn’t work.

would you please help me in this regard ?