Top "Angular6" questions

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

How to disable a checkbox based on conditions in angular 6?

My html code, <div> <div> <input type="checkbox" id="Checkbox0" name="cCheckbox0" class="custom-control-input" (change)="…

html angular checkbox angular6 disable
Multiple ng-content

I am trying to build a custom component using multiple ng-content in Angular 6, but this is not working and I …

angular angular6 angular-components ng-content
How to get the current year using typescript in angular6

How to get the current year using typescript in angular6 currentYear:Date; this.currentYear=new Date("YYYY"); alert(this.currentYear); …

angular typescript angular6
How to run the Dist Folder on Local Machine in Angular 6+?

I am building the application in Angular6+, now I have run the command ng build --prod which gave me a …

angular typescript angular6
Angular 6 Unit Tests: An error was thrown in afterAll\nReferenceError: Can't find variable: $ thrown

When running my unit tests, from time to time, even if they pass, at the end of all the tests …

angular karma-runner angular6
Convert HTML to PDF in Angular 6

I have a component (Angular 6) which is an aggregation of several components. This produces a long HTML (I am using …

html angular pdf angular6 jspdf
how to pass data from angular material dialog to parent component?

I'm using angular 6 and I have a button which opens a dialog. in my dialog, I have a form that …

angular typescript angular-material angular6
Jquery not working in angular 6 Error: ENOENT: no such file or directory, open '...\node_modules\jquery\dist\jquery.min.js'

I am in process migrating Angular 5 project to Angular 6. While starting application by npm start getting the below error ** Angular …

jquery angular angular6
When upgrading Angular 5 to 6, I get incompatible peer dependency (using ng update @angular/core)

I am trying to update my Angular app from v5 to v6 following this guide. I have ran all these …

angular npm angular5 angular6
Angular 6 - httpClient passing basic auth in httpOptions

I have a service in Angular 6 and I'm trying to change a record but it's saying I'm not authorized. Right …

angular typescript angular6