Added post live preview with Angular JS