import { enableProdMode, provide } from '@angular/core';
+import { disableDeprecatedForms, provideForms } from '@angular/forms';
import {
HTTP_PROVIDERS,
RequestOptions,
import { bootstrap } from '@angular/platform-browser-dynamic';
import { provideRouter } from '@angular/router';
-import { AppComponent } from './app/app.component';
import { routes } from './app/app.routes';
-import { AuthHttp, AuthService } from './app/shared';
+import { AuthHttp, AuthService, RestExtractor } from './app/shared';
+import { AppComponent } from './app/app.component';
if (process.env.ENV === 'production') {
enableProdMode();
},
deps: [ XHRBackend, RequestOptions, AuthService ]
}),
+
AuthService,
- provideRouter(routes)
+ RestExtractor,
+
+ provideRouter(routes),
+
+ disableDeprecatedForms(),
+ provideForms()
]);