tech/webdev magazine

September 6, 2016

Building a WordPress-Powered Front End With the WP REST API and AngularJS

Tuesday, September 06, 2016 Teklinks

In the previous part of the series, we built a custom directive for listing posts on the front end. This directive takes arguments directly in the HTML attribute as well as in the URL to fetch posts from the server. Building the directive has allowed us to show the post listing feature anywhere in our application by reusing the business logic and the rendering logic provided by the directive.

Full article