Questions tagged [angular9]

Questions about Angular version 9, the web framework from Google. Use this tag for Angular questions which are specific to only version 9. Use tag Angular for any Angular questions which are not specific to an individual version

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

New Breaking Changes

  • Angular now compiles with Ivy by default. See Ivy compatibility section.

  • CLI apps compile in AOT mode by default (which includes template type-checking). Users who only built with JIT before may see new type errors. See our template type-checking guide for more information and debugging tips.

  • Typescript 3.4 and 3.5 are no longer supported. Please update to Typescript 3.6.

  • tslib is now listed as a peer dependency rather than a direct dependency. If you are not using the CLI, you must manually install tslib, using yarn add tslib or npm install tslib --save.


See the changelog for latest version information.

As of December 2019, the current RC version is 9.0.0-rc.7

Consider using the Update Guide for tips before changing the version.

You can read more about Angular version 9 here

1936 questions
0
votes
1 answer

API JSON GET - listen to the changes

In my Angular app I am fetching data from an api service which provides me JSON data. I have several values in fetched data. See the example: { "StartDate": "2020-07-06 23:29:01", "Visits": 1, "Clicks": 1, "FormSuccess": 0, …
Danny Web
  • 217
  • 5
  • 17
0
votes
1 answer

Angular 9 ngIf not working with firebase login popup

I am having a strange issue with ngIf. Even after changing boolean values from false to true contents are not getting displayed on the UI. I have two variables called display_phone set to false and display_mail set to true. After firebase Gmail…
pratik jaiswal
  • 1,855
  • 9
  • 27
  • 59
0
votes
2 answers

Angular 9 - View will not update after variable change in subscribe

I could not make it persistent behavior in HTML part while using subscribe to the http client in the Anglar 9. I tried following stackoverflow posts - Angular 2 View will not update after variable change in subscribe Angular 6 View is not updated…
Veshraj Joshi
  • 3,544
  • 3
  • 27
  • 45
0
votes
1 answer

Angular: PrimeNG Organization Chart not rendering the chart properly

I have implemented an organization chart by PrimeNG as per my requirement. My data from the TreeNode type array is getting rendered in UI properly but the design is not. Below is my code: app.module.ts import {OrganizationChartModule} from…
Avishek
  • 524
  • 16
  • 38
0
votes
1 answer

Addition of two numbers not working without ng model

I want to add numbers without ng model attribute. I tried below but it does not work. Any suggestions please.. First Number : Last Number:
user1989
  • 47
  • 2
  • 7
0
votes
1 answer

Angular Material Sidenav Module is not recognised

I'm using Angular 9.1.11 as well as Angular Material 9.2.4 . I have this problem when I try to import the MaterialSidenavModule so i can use components such as mat-sidenav-container etc. Here is my app.module.ts file: import { BrowserModule } from…
0
votes
0 answers

Angular 9 SEO via Angular Universal issue

I've got next error NetworkError at XMLHttpRequest.send (PATH_TO_PROJECT\dist\frontend\server\main.js:341661:19) at Observable._subscribe (PATH_TO_PROJECT\dist\frontend\server\main.js:20714:17) at Observable._trySubscribe…
Igor Zinchenko
  • 305
  • 3
  • 13
0
votes
2 answers

Change return value in Angular NgIf

I have a button in my angular 9 project as follows This button is displayed according to…
0
votes
0 answers

How to set