Background, have an app built originally with angularjs, it's now a angularjs/ angular hybrid using the UpgradeModule. There's been kind of an ongoing problem with falling out of the angular zone and ending up in the zone. Have hit on a…
I make an Ionic app with Angular and I need to read barcodes with a physical barcode reader.
This reader is typically like a physical keyboard which sends keyboard event after it read a barcode.
So I made a script to capture Keyboard event on the…
Current behavior
currently i host angular at firebase hosting which has 151.101.1.195
and my API is located at azure server that has IP 23.98.64.158
then i send POST request using the following lines in my angular v6.1.7
const req = new…
Calling from Firefox 61.0.1 to Safari 11.1.2 results in ICE connection failed after all of the candidates are gathered in the Angular 5.x app.
The app is using webrtc-adapter to add cross-browser support.
Tested browsers:
FireFox 61.0.1
Opera…
I'm stuck with Angular5 ReactiveForm.
Actually, I create a basic model sub
sub.model.ts :
export interface Subscription {
name: string;
}
I also have a component : :
sub.component.ts
import { Component, OnInit } from…
I have an angular 4 project which is inspired from angular cli. With angular 4.1.x everything works fine (run, build, unit tests, isolated component tests).
But when i move to ^4.2.0 which installs 4.4.6 , i get the following issue described below.…
Overall what I am doing is I have a datepicker where clicks bubble up to the body, and I also have ag-grid which has a column menu that listens for clicks on the body and closes the menu. See plunkr, just have to click the hamburger next to DOB and…
I am implementing Google Sign-in in my Ionic 3 app with Firbase. I've successfully been able to use the native Google Plus Cordova plugin, then login with credentials to Firebase using Angular Fire 2. Here is my code:
public loginWithGoogle():…
What is the Change Detection that mentioned here for Angular 2? How ZoneJS doing that in Angular 2.
UPDATE: What do you mean when you say 'Change Detection'? Is it to detect the changes in the data or the DOM elements?
I have a Plunkr demoing the problem here: https://plnkr.co/edit/e5OVhuWtyStxI1vvXd9h
Summary is:
I have a Parent and Child component. Child has change detection strategy set to onPush.
Child's template is just this:
@Component({
selector:…
I have a angular 2.45 project written in Typescript. I've added a new component to the routing module of my app and also imported the new component.
When I start the app I receive the following error:
Unhandled Promise rejection: Component…
I'm wondering how I can execute an http request where I update the profile view within the Angular2 Zone. In my top level profile component I'm currently doing a single simple http request using authHttp:
export class ProfileComponent implements…
I think I have reasonable understanding of what npm peer dependencies are and why we need them. A common example is grunt modules. If you are writing a grunt module that is only compatible with version x of grunt, you have to make sure anyone using…
i build a small angular2 app. I am referencing the appcomponent directly on a custom sharepoint 2013 masterpage. Its loading correctly but when i am opening the settings menu of the sharepoint
i got a "Out of stack space" error in the zone.js…
When I am trying to create a new google Map in angular 2 zone.js is giving me a maximum callstack exceeded. Has anybody experienced this?
Map Component:
import { Component, OnInit} from '@angular/core';
import { Map, MapOptions, LatLng}…