Questions tagged [angular2]
The angular2 tag has no summary.
56 questions
-2votes
1answer
558views
I have a SPA using Azure AD Auth Code with PKCE flow and I'm trying to implement token exchange/on-behalf-of flow
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 ...
2votes
0answers
59views
Software design for an Angular highlight&comment tool
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' ...
0votes
1answer
319views
Sending multiple calls from angular application
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 ...
2votes
1answer
112views
Angular Folder directory approach
I know the proper folder structure for an Angular application should be like this: /app /core module /components /services /feature module /components /services ...
1vote
0answers
49views
Inheritance on nested components
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 ...
1vote
2answers
406views
Angular + Spring Application
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 ...
0votes
1answer
90views
A RESTful API for internal company system accessing peripheral devices
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 ...
2votes
1answer
2kviews
At what point is having a static class with utility methods better than having an injectable service?
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 ...
-1votes
1answer
134views
How to prevent angular 2 client from accessing privileged fields
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 ...
1vote
2answers
9kviews
How to consume nested objects in API resource
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 ...
-2votes
1answer
250views
Supervisor wants unconventional web site, how to resolve this
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 ...
2votes
2answers
140views
Angular class design dilemma
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 ...
2votes
0answers
4kviews
Angular 7 - Nav Child component display router-outlet vs iframe
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: ...
0votes
1answer
637views
Angular 2+ Providers/Service on Parent or Child component?
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 ...
4votes
1answer
3kviews
Split large Angular codebase to libraries
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 ...