add view name to $viewContentLoaded arguments

When we check if `state.locals` contains `name`