Top "Angular6" questions

Questions about Angular version 6, the web framework from Google.

Angular 6 View is not updated after changing a variable within subscribe

Why is the view not being updated when a variable changes within a subscribe? I have this code: example.component.…

typescript angular6 observable rxjs6 angular-changedetection
Your global Angular CLI version (6.0.8) is greater than your local version (1.0.2)

C:\dev\myApp> ng serve -o Your global Angular CLI version (6.0.8) is greater than your local version (1.0.2). The local …

node.js angular angular-cli angular6 angular-cli-v6
directive click outside angular 6

I upgraded my Angular from 4 to 6, and consequently had a problem with my click-off policy, it stopped working on all …

angular angular2-directives angular6
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

Has anyone faced below warning in "ng serve"? WARNING in ./node_modules/@angular/compiler/src/util.js 10:24-31 Critical dependency: …

angular typescript angular6
Angular 6: Can't bind to 'formGroup' since it isn't a known property of 'form'?

I have worked with form builder in angular 2/4, But now I am using it in angular 6. I have seen this …

javascript angular5 angular6 angular-forms angular-formbuilder
Angular 6 run a function in every X seconds

I have a function called opensnack(text) { ... }; which is opening an angular material snackbar with the given text input. What …

angular typescript angular6
Angular 6: Property 'catch' does not exist on type 'Observable<Response>'?

I am upgrading my app to Angular 6. I am upgrading from Angular 4, but the code below is causing errors in …

angular rxjs angular6 rxjs6 angular-observable
Router navigate to child route - Angular 6

I've defined my routes like this: const routes: Routes = [ { path: '', loadChildren: './tabs/tabs.module#TabsPageModule' }, { path: 'faq', loadChildren: …

angular angular6 angular-router angular-routerlink
How to use environment variable in index.html for Angular 6

I am using angular6, in my project I am using Facebook Account Toolkit for mobile verification purpose. I need to …

angular6 account-kit
Angular 6 does not add X-XSRF-TOKEN header to http request

I've read the docs and all the related questions on SO, but still Angular's XSRF mechanism isn't working for me: …

angular typescript angular6 csrf x-xsrf-token