fix clear comment form
refactoring angular script