Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [angular2]

Filter by
Sorted by
Tagged with
-2 votes
1 answer
653 views

I have an angular SPA that runs in an office add-in (word) that I need to authenticate against Azure AD using Oauth2, consume resources from multiple apis and make graph calls. I have been successful ...
Josh Engel's user avatar
2 votes
0 answers
70 views

We're building a new feature for an online editor that the user will not edit the document, but will be able to highlight & propose edits on the document. Very similar to google documents' ...
Bora's user avatar
  • 153
0 votes
1 answer
339 views

I am working in Angular project which is connected to REST API. Here we have an endpoint to create and update room types. POST endpoint for create and PUT endpoint for update exiting room types. Both ...
Nuwan's user avatar
  • 1
2 votes
1 answer
122 views

I know the proper folder structure for an Angular application should be like this: /app /core module /components /services /feature module /components /services ...
user avatar
1 vote
0 answers
54 views

I am creating a grid using ag-grid. Here I want to create custom dynamic cell editors. Which show different edit fields based on the value inside the cell. I got the idea from here. This question is ...
Yannick's user avatar
  • 19
1 vote
2 answers
425 views

I use Spring for backend work and Angular for frontend and maintain each in separate repositories. This was because I considered both the frontend and backend completely separate projects, IE a new ...
Seth Falco's user avatar
0 votes
1 answer
96 views

I am currently working on an internal storehouse management system for a certain company. They wanted it to be a web app so that they can use it without installation on any devices. We decided to ...
Valhaal's user avatar
  • 13
2 votes
1 answer
2k views

I have a pretty general question about the design of Angular web applications. I'm a big fan of writing services. Sometimes I write services that have only utility methods that don't require state at ...
Joshua Schroijen's user avatar
-1 votes
1 answer
147 views

I'm learning angular and have been reading about various backend solutions like direct db access, REST, and graphql. One thing I haven't seen addressed anywhere yet is how do you protect privileged ...
Kempeth's user avatar
  • 230
1 vote
2 answers
9k views

I am building my first web application, it links to the serverside through RESTfull Web API (Angular on client side, ASP.Net Core and EF Core on serverside, Automapper to map API Resources to/from ...
Superman.Lopez's user avatar
-2 votes
1 answer
263 views

I started a new job with a greenfield site in Angular to create a website from an old desktop app. I gave a presentation guided by my Supervisor who wants game style top icon menus to cut down on ...
Andrew Day's user avatar
2 votes
2 answers
148 views

I'm trying to set up a good class diagram for my Angular application, however I have a problem figuring out how to solve the following situation: I created a base Link class that can be used anywhere ...
BigBawss's user avatar
2 votes
0 answers
4k views

I have created a Angular 7 web app data-driven display of navigation items and content to be shown when a nav item is selected. I have the following nav item interface: interface NavItem { title: ...
taylorswiftfan's user avatar
0 votes
1 answer
662 views

I have recently started diving deeper into Angular 7 (with Ionic 3) and I have written a lot of code so far, and I have child & parent component relationships - but never like this before. I am ...
Kagiso Marvin Molekwa's user avatar
4 votes
1 answer
3k views

I am writing a potentially large web application using Angular 7, where I came across a design problem. My angular applications until now have been relatively small, so there was no problem keeping ...
Miha Jamsek's user avatar
2 votes
1 answer
3k views

I have an Angular application with a table, and I'm considering having the console application take the name of C# programs that the user can run. I was thinking of passing the name or code of the ...
rds80's user avatar
  • 131
1 vote
2 answers
607 views

Requirement There is some (for arguments sake) “global” application state that I am interested in injecting into components. Each candidate component should receive an immutable snapshot of the ...
Bryce Marshall's user avatar
1 vote
1 answer
295 views

I'm working on a dozen enterprise SPA's and PWA's and most of them require impeccable IE11 support. This has been a complete pain with countless problems every step of the way. It occured to me ...
SebastianG's user avatar
0 votes
1 answer
144 views

So I'm trying to justify my case of using ASP.Net Core with Angular in a new application, where the .NET application does little more that provide the basis for the Angular app. It's really similar ...
bitshift's user avatar
  • 207
14 votes
1 answer
888 views

My understanding of Micro-frontends is that the key problem they solve is in helping enterprises have multiple, possible disparate teams, work on individual components/small-apps that will be used to ...
Kiran's user avatar
  • 251
3 votes
2 answers
149 views

We are developing an angular 5 application that must run in different environments (dev, qa, int, uat, prod), and connect to different APIs depending on the environment. We have traditionally have ...
Jorge Riv's user avatar
  • 141
1 vote
0 answers
91 views

Currently my company has a single internal application that our support agents use. It only supports one product at this time. Tech stack is angular on the front end and spring micro services for ...
Anthony's user avatar
  • 119
1 vote
2 answers
446 views

I'm using a service to manage state in Angular: import { Injectable } from '@angular/core'; import { Subject } from 'rxjs'; @Injectable() export class DrawingAreaService { itemChange: Subject<...
BrunoLM's user avatar
  • 247
-2 votes
1 answer
8k views

I have this project I want to do, using Angular 5/6 for frontend and Codeigniter 3 for backend. The problem is that I don't know how to combine the two, and all the tutorials I looked were using ...
Teddy Baha's user avatar
0 votes
0 answers
79 views

I am confused (easily done). To me model is the data from the database sent back as JSON. When I think of that in an Angular context, when two-way binding is configured, it makes me think the ...
johnny's user avatar
  • 3,679
0 votes
1 answer
3k views

I have been learning angular for a while now and I understand the point of modules and components (briefly) but now I am starting my own project using the framework I am somewhat confused. When should ...
Andy Clark's user avatar
-3 votes
1 answer
1k views

I want to create Logout Functionality in Angular 5. The logout function will contain following pseudo code: Clear local storage authentication JWT token Redirect to login page My question is; where ...
Vinit Divekar's user avatar
4 votes
3 answers
21k views

In Typescript/Angular 6 (2+), is it considered a good practice to have a base abstract http service from which derives all the application services? for example: //import the angular Http ...etc ...
Uentee's user avatar
  • 401
0 votes
0 answers
62 views

We are planning to build a SPA in Angular 2+, which will use ASP.NET as a back-end. Since Angular doesn't really have a good integration to ASP.NET, we decided to create the SPA as a standalone ...
egurb's user avatar
  • 181
1 vote
1 answer
242 views

Is there a best practice approach in Angular2+ for making the URL the single source of truth for application state. EmberJs has Route Models, each segment of the URL can have a model and each URL ...
Mike Broughton's user avatar
3 votes
1 answer
636 views

I'm a software developer, and the kind of developer we call "front end developer". I'm working on stuff like Angular JS, Angular 2 and others. I wanted to know how we can organize our front end code ...
Ghazanfar Khan's user avatar
1 vote
1 answer
114 views

I am working to on an application which generates XML based on user input. Currently the application is in Design phase. And I am really confused on how to progress on this. Well the Idea is that: ...
Kishor Prakash's user avatar
2 votes
1 answer
3k views

I basically want to know if it is considered a good practice to persist the errors that happen on the client side of a web application (typescript/angular for example) by logging them to files? Or if ...
Uentee's user avatar
  • 401
0 votes
1 answer
835 views

I am trying to design an app that is based on microservice architecture. Backend is written in JavaEE (micro profile, not Spring Boot), while for front-end I would use Angular5. Now I am wondering ...
Miha Jamsek's user avatar
3 votes
1 answer
162 views

When you are using frameworks like Angular, Angular2+, and React, the way you put data in the UI is by binding a property to an attribute of a UI element. On the other hand, when you're doing ...
Andy's user avatar
  • 187
1 vote
1 answer
604 views

Here is a weird problem in Angular: <input #pin1 type="password"> <p>You entered: {{pin1.value}}</p> If you type something in <input>, the <p>'s content will not change ...
Yui's user avatar
  • 19
1 vote
2 answers
3k views

I'm currently developing a Website that requires direct access to the client computer. Therefore I decided to split this project in this three main parts. There are some requirements that have to ...
Christian Klemm's user avatar
1 vote
1 answer
302 views

Doctor is end user of this application Doctor opens desktop application on his pc which is not developed by us. We provide interface to desktop application via interop dll's. Desktop application call ...
DevelopmentIsMyPassion's user avatar
1 vote
1 answer
2k views

Hoping to get some guidance regarding version control of Angular2 project. Recently i started coding in Angular2, used angular-cli to create a brand new project and go through standard 5 minute setup ...
Aeseir's user avatar
  • 257
1 vote
1 answer
1k views

I need support for Angular2 service architectures. I am quite familiar with Angular2 but I don't see the best way to implement services, error handling and their connection with the components. I'm ...
Gábor Imre's user avatar
7 votes
6 answers
893 views

We are beginning development of an Angular 2 application. Our back-end will be using ASP.NET Core WebAPI. Although my subject calls out authentication, this also applies to any API service that is-...
Jake Shakesworth's user avatar
0 votes
1 answer
554 views

I am developing Angular 2 payroll application intended for serveral user groups/roles - e.g. for accountants, for employee self-service, for managers. Each user group should have completely different ...
TomR's user avatar
  • 1,029
0 votes
1 answer
258 views

I used Angular 1 and React / Redux, and one thing I like about React / Redux is that there is a definite app state, and a middleware that can convert a promise into real data. In Angular 1, we often ...
nonopolarity's user avatar
  • 1,837
2 votes
1 answer
240 views

I am learning React / Redux, and one feature I like is, when you fire off an Action, you actually provide a request as the "result" or what is called the payload in Redux, and the Redux middleware won'...
nonopolarity's user avatar
  • 1,837
0 votes
1 answer
319 views

In Angular 2's official tutorial, any operation involving getting or saving a class necessitates using a service. For a Hero class, they had to create a HeroService to perform all HTTP calls. This ...
Zsw's user avatar
  • 163
4 votes
0 answers
119 views

I'd like to write an Angular2 application that consumes a REST API backend. However I'm worried about the number of req/sec that such a request will generate, due to Angular "watches" or equivalent ...
Glasnhost's user avatar
  • 233
18 votes
3 answers
11k views

I'm about to start developing a single page web application that is very simplified a multi user documentation system. The front end will probably use Angular2. The project has a short deadline, so I'...
Magnus's user avatar
  • 415
9 votes
2 answers
625 views

I have several backend services (REST+SOAP) that have to be consumed by a SPA (Single Page Angular2 App). As JWT (JSON Web Token) is not feasible for me for the moment, security is done using CAS ...
Cris's user avatar
  • 323
1 vote
0 answers
1k views

my question is related with Angular 2 Modules (@NgModule). Previously I’ve worked with angular 1.5.8 on huge business application and I’ve got used to Angular 1.x practices. Important background: ...
MPrzy's user avatar
  • 31
2 votes
1 answer
399 views

I'm reading about Angular on their website here: https://angular.io/features.html, and I see the following: Cross Platform Progressive web apps - Use modern web platform capabilities to ...
loneboat's user avatar
  • 971