Removing AngularJS code: post.js