Directives and Controllers must not throw an error if onHashChange is not defined
Directives and Controllers must not throw an error if onHashChange is not defined