I am currently building an app with Angular and NodeJS. On a development environment, it's quite easy, Angular is on port 4200 and I fetch response from Node.js
I have the below authentication guard in my angular application which using OKTA to authenticate. export class AuthenticationGuard implements canActivate {
In my Angular component I have this code: delete(post: PostInterface): void { const delete$ = this.appDataService.proxy .delete(post, this.paginate)
I am trying to mock viewchild in my angular test cases. here is my html file <mat-form-field appearance="fill"> <mat-label>Date</mat-label> &l
I am working on an Angular Project, with Ionic 4. When Child Page is called from Parent Page's HTML using HTML Selector, child page's Ionic Lifecycle Hooks do n
I am trying to use Angular's HTTPClient to go from my localhost on http to a url: https://openlibrary.org/subjects/all.json?details=true and https://openlibrary
my code is like this and I send data through httpClient and it returns error on upload my angular version is 13 and django version is 4 and I'm using django res
So I have an onclick that directs to a linkedin page here: <li id="toHover" onclick=" window.open('https://www.linkedin.com/in/jvanderkooi/?originalSubdomain
I'm creating Angular Material dialog popup but instead of popupping the component shows in the bottom. Component.ts constructor(public dialog: MatDialog) { } o
I have a page with many images. the ngFor worked ok for image tags But I want canvas(es) I do not know how to manage "id" and getElementById , in a dynamic en
I have the following code in Angular. I want to be able to find "north america" by typing "america north". How do I do that? const getContinents = keys =>
I'd like to mock the value of a service property my component uses. I can't seem to get the value to change however. The problem I'm having is getting the compo
I had built angular project with following command npm run build --prod --base-href=./ --deploy-url=./ I am having nginx config as follows: worker_processes 4;
In my application I have dialog that opens google maps. When navigating google maps with tab the UI at the bottom of the map is "tabable". How can I remove this
I want to toggle a sidenav from another component in Angular. I have 3 child Components: menu,content,header. Button is on header component.I want to click on b
I am navigating to a route but one of the route guard is returning false in Angular 13. how to know whether navigation is done or cancelled. I have done below b
In the template, the following code works normally: <h3>{{hero.name}}</h3> or even: <a routerLink="/details/{{hero.id}}">{{hero.name}}</a&
I have a requirement to read the query parameter for date and set the value of the Mat Input value to the value read by the query parameter. I am using Mat date
I Write My code like this but it has error, How to rewrite this code db.collection('collection_name').insertOne({ name:req.body.name, details:[{ age:req.body.ag
I have routing in app-routing.module.ts I want to get playerId and teamId from the router but it returns undefined in the console as I subscribe to it in AppCom