Category "angular"

Where is my angular project picking up the A favicon.ico from? It's not in my project

Just recently, code that has worked correctly since 2018 has started falsely showing the old default "A" favicon.ico from Angular. I have combed my code and can

TypeScript issue with find and filter

let access = environment.access.filter(it => it.roleName === userRole); let access = environment.access.find(it => it.roleName == userRole); Property 'f

Secure google maps api key in an angular app

I'm using angular and google maps. In all the tutorials I find, the instruction says something as: add to your index.html code: <script src="https://maps.g

What is the difference between a javascript package, node package, and react package?

Are they all the same thing? Can a node program use react package, vice versa?

How to implement a resume pause functionality for file upload ? I am using node js, gridfs and multer

I have used the following link to upload files in mongodb which is working in my application : https://dev.to/shubhambattoo/uploading-files-to-mongodb-with-grid

How to make google chrome go full screen in Angular 4 Application?

I am developing an application where I want to implement such a thing where if user leaves from one component & enters other component, then in other compon

Typescript 4.6 and Arrow Functions

We recently updated to typescript 4.6 (from 4.5) and are experiencing some weird this issues. for example we previously had a function defined at #handleUnsaved

Disabled dates in ion-datetime (Ionic 4, Ionic 5)

The scenario I have implemented my ion-datetime into requires that certain dates can be disabled. Blockout dates. This is something that's fairly common in apps

editor.component.scss:17:100: ERROR: Unterminated string token - Angular + Scss

I am getting unterminated string token error in my angular application that uses scss as stringUrl. @import "~bootstrap/scss/bootstrap"; .view-container, .modu

Connecting a WebSocket in Angular

I have WebSocket Connection in Node which works fine. Now I want to use it in Angular with a rxjs websocket, but I have no idea how to solve the connection. co

ngbDatepicker set current month and year dropdown

In my Angular application, I used a datepicker called ngbDatePicker. It seems that it has a bug because the default selected month and year dropdowns is not cor

Angular 6 + jsQR - How to capture QR code on the first success?

I use jsQR (https://www.npmjs.com/package/jsqr) with my Angular app to decode QR. Generally I copy the code from jsQR into my app, and it works right away. Howe

Ionic ion-menu-button not working on first load

<ion-menu-button autoHide="false"></ion-menu-button> At first load it give an error: zone.js:1102 Unhandled Promise rejection: Cannot read properti

why my angular page doesn't load

hallo there i am a beginner with angular 6 but when ever i make a new project the app-rout tage doesn't load the app-component.html file it appears empty and i

Empty spaces added around HTML text when using Angular interpolation

Any idea why an empty space is added before text in HTML when using interpolation in Angular? Exemple in my Angular HTML template: <div class="info-title">

Get Angular Child routes from API

I want to get child routes from a database table. Can anyone please tell me how to call an api endpoint and bind the response to build child routes for a partic

How to correctly use Eslint rule newline-per-chained-call with Prettier in Angular

I added the rule: "newline-per-chained-call": [ "error", { "ignoreChainWithDepth": 2 } ] to my .eslintrc.json file. I Also extended "plugin

how to store as a blob the audio recoding from azure API SpeechSynthesizer and play it in angular

We are currently implementing a spring boot API that calls text to speech API SpeechSynthesizer. public PronunciationBlob callAzureToTransformTextToSpeech(Stri

Sanitize URL in Angular 2+

I'm trying to sanitize an URL that is dynamic according to the pdf that l get from BE, so l want to display this pdf in an iframe but l still get the following

Add a spinner when Mat-table is loading?

I load the data in my material table like that : ngOnInit(){ return this.annuairesService.getMedecins().subscribe(res => this.dataSource.data = res);} I