I am getting getting a weird error while running the Angular 8 code. Please find the error log shown below:
Тем не менее выдает ошибку Ошибка: $ injector: modulerr Ошибка модуля
When i load pages nothing happens, where I want it to load the content from the corresponding HTML files.
Я использую angular -route для маршрутизации. CАН я определяю baseurl в моем require.config require.config (baseUrl: '' paths: {'angular': '../bower_components/angular/angular.min?
Error: StaticInjectorError(DynamicTestModule)[RouterLinkWithHref -> Router]:
StaticInjectorError(Platform: core)[RouterLinkWithHref -> Router]:
NullInjectorError: No provider for Router!
below is the code snippet :
-------------------------------------------------------------
I am getting getting a weird error while running the Angular 8 code. Please find the error log shown below:
Error: StaticInjectorError(DynamicTestModule)[RouterLinkWithHref -> Router]:
StaticInjectorError(Platform: core)[RouterLinkWithHref -> Router]:
NullInjectorError: No provider for Router!
It is however throwing the error Error: $injector:modulerr Module Error
When i load pages nothing happens, where I want it to load the content from the corresponding HTML files.
Я использую 'angular -route' для маршрутизации. CAn Я определяю baseurl в моем require.config require.config (baseUrl: '' paths: {'angular': '../bower_components/angular/angular .min?