adds AngularJS post
renames file