Problem I have a Angular 6.1.10 web app. I want the width of the mat-select list options to be automatic and adapt to the widest option in the options list. See
I'm using gridster2 to create a table plan for a reservation project. I've created a sample dashboard but when I run the project it only shows the grid not the
I want to get the id value of the selected product in my Angular 12 project, I used NgModule for this, but unfortunately it does not work. What is the reason fo
I am trying to call an API from Angular but am getting this error: Property 'map' does not exist on type 'Observable<Response>' The answers from this si
I need to allow to only write in an input numbers and optionally 1 comma and 2 decimals. Example of right inputs: 123 123,22 I've tried this directive I fou
I'm doing a big Angular 7 project for myself and I want some background music in it. So I use this: <audio id="audio" *ngIf="ship.dock != true" autoplay="t
In one of my Angular 2 routes's templates (FirstComponent) I have a button first.component.html <div class="button" click="routeWithData()">Pass data an
guys! Ran into interesting behaviour when using angular youtube player(ngx-youtube-player ). The video displays perfectly fine when app is running on localhost,
I tried to make a scroll for a dialog in reposition strategy, but it doesn't work for me. const scrollStrategy = this.overlay.scrollStrategies.reposition(); co
So I have these 2 buttons: <a class="router-link nav-item" routerLink="/login" *ngIf="!isLoggedIn$ | async"> Login </a> <a class="router-link
I tried to make a scroll for a dialog in reposition strategy, but it doesn't work for me. const scrollStrategy = this.overlay.scrollStrategies.reposition(); co
In angular, we can easily change the property of a CSS class dynamically, like if I have a class .my-class { background: url('..') } and if I used my-class a
I have this use case. A component should NOT be visible when from a list of Boolean observables one of those is true. That is the easy part, for this, I have my
I'm working in Angular2. In my app, I've to load excessive amount of images. But instead of loading those images for every reload, I want to put those images i
I have cloned from here: https://github.com/AngularClass/angular2-webpack-starter Installed, with some warnings: npm install typings webpack-dev-server rimra
I got the idea that node js its not just for web application for example I can create a console application with node (cli) . and already I have an interest in
I followed this guide to set up swiper slider in my Angular 8 application. I get the below error when importing NgxUsefulSwiperModule into app.module.ts ERROR i
I would like to make my ng serve command default with liveReload = false. I tried ng config --global serve.options.liveReload false but I got an Invalid Path e
I am using PrimeNg calendar widget with 2 fields that is startDate and endDate. Currently when selecting startDate, It is showing the selected date with curren
Hi I can't install the angular cli with npm install -g @angular/[email protected]. I keep getting this : > node ./bin/postinstall/script.js module.js:549 thr