apply ngSanitize
refactoring getContentsList after posting contents or like contents