Category "angular"

cannot connect Peerjs in angular

tsconfig.json::: { "compileOnSave": false, "compilerOptions": { "baseUrl": "./", "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, "strict

Error: (SystemJS) XHR error (404 Not Found) loading service

I'm currently trying to use a service to pass a string. However, at my AppComponent I'm getting undefined Service. This is the error: Error: (SystemJS) XHR er

How to access Response cookies in angular2?

I'm trying to access this cookies (the response ones): When I open the request in the chrome debug tools in the network section I can clearly see that the coo

Is it intended that, in Angular, projected content is evaluated even if it is not rendered to the DOM?

I've constructed a number of scenarios in Stackblitz that you can view here: https://stackblitz.com/edit/angular-zdyy8v The issue we're contending with in parti

Angular 2 Animation - boolean trigger?

I'm trying to trigger a transition bound to a boolean property, but this doesn't seem to fire. Here is a cut down version of my animation trigger trigger( '

Webpack 5 Module federation : Unable to Import the Remote app

I have a vanilla JS app and an Angular app. I am trying to link both these apps using module federation, both on my local environment. The following is webpack

How can I set duration of a snack-bar in angular2 (material2)

This example stays forever on the screen: snack-bar-demo.ts import {Component, ViewContainerRef} from '@angular/core'; import {MdSnackBar, MdSnackBarConfig}

Add dynamic loading messages with APP_INITIALIZER

I have an app which do some backend calls before initializing. I have a loading screen for this, which tells the user that something is currently loading. The p

Angular Universal/Ionic TypeError: head.querySelector is not a function

While trying to add SSR to an existing Angular/Ionic App, following the Ionic SSR guide, i get the following error TypeError: head.querySelector is not a funct

How to use input type file in angular material

How to use input type file in angular material Hi, I am using angular material for designing. when i go on angular material site there no input type file eleme

How to escape HTML character in angularjs. I have read using ng-blind / ng-sanitize to escape Html, but not able to implement it

I am new to Angular Js. I have used ngx-editor to make text-area with different formatting Styles. When I am submitting the content I am getting HTML tags alon

How to mock interface with Jest without creating an instance

I know we can do it in Kotlin but I did not find it with Jest. I have complex interfaces and array of those interfaces and I do not want to specify all values o

How to publish external Angular folder with my asp.net core project?

I have created an Asp net core api with an external angular project, the app works well in debug mode and I want to publish the two apps in same folder, but the

Angular CDK understanding the overlay position system

I'm really trying to understand the overlay position parameter but without any luck. I also can't find any documentation about this topic. What does the follow

Error with npm install - a pre-gyp error

I wanted to install this angular 2 calendar using npm. Tried to use npm to install it and then downloaded it and tried to install it. In both cases its failed.

angular material .textarea don't update follow variable

I tried to upload the Textfile into Textarea and edit it, but whenever I type and then upload it. Textarea will not update the contents of the files from the t

Angular2+ render a component without any wrapping tag at all

My child-component looks like: ... @Component({ selector: '[child-component]' templateUrl: './child.template.html' }) ... and my parent template like

Angular material: snackbar is hidden behind component with high z-index

So I'm playing around with Angular a bit and I wanted to add material snackbar to my app for when there's an error in my app. So, I have my hompage and my nav

How to make the date input mask in angular?

I am trying to make the input date of birth mask in angular and format of date is dd/mm/yyyy ,but it not set and return the input according to our requirement

Create backdrop of Material Design for Angular [closed]

I'm starting a new project with Angular 13 and Angular Material. I want to use a Backdrop element like it is defined in Material Design (Mater