Thanks to the WordPress JSON API plugin it’s really easy to make a WordPress theme using AngularJS, or use WordPress as a backend for your AngularJS application. In this post I’ll describe how to create a basic theme from scratch and fetch posts using AngularJS and the JSON API plugin. In order to follow this tutorial it’s useful to have some basic knowlegde about WordPress theme development and AngularJS.
This WordPress blog is installed on an IIS 7.0 webserver. In order to use nice permalinks without index.php in it (such as example.com/2010/01/01/test), a rewrite engine has to be used. Since there is no mod_rewrite for IIS, my web hoster installed Microsoft’s URL Rewrite Module. On this page I found the rules to add in the web.config file.