refactor(ngHint): simplify unnecessary code