added angular-animations and completed CRUD for posts