Angularised the posts page