Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [angularjs]

AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Controller (MVC) capability and reduce the amount of JavaScript needed to make web applications functional. These type of apps are also known as Single-Page Applications.

Filter by
Sorted by
Tagged with
1 vote
4 answers
472 views

Is it best practice to only use still-supported languages when developing apps?

I am looking to create a multi-page web app. I had begun the construction of this web app in angularJS when I realized this was no longer being supported. I am early enough in development that it isn'...
Runeaway3's user avatar
  • 173
-2 votes
1 answer
48 views

Does Angular (or other frontend framework with auto UI update) break Single Source Of Truth since using function within template should be avoid?

I know when building an Angular app (or other frontend framework with auto UI update by change detection), using function in a template is not recommended since it will result in the function being ...
Ricky Mo's user avatar
-2 votes
1 answer
43 views

Do I need a separate backend (Express) for an Angular project if using AWS for data storage?

So, I'm working on developing my first Angular project with/for a friend of mine and I have a design question before I really get started with things. I'm going to be storing persistent data on AWS ...
MisutoWolf's user avatar
0 votes
2 answers
66 views

Strategy for Chrome timing out on a Database cleanup job which takes a long time

I have a notifications app which sends users notifications. It uses a .NET core backend, an angular frontend and Cosmos DB. Within this I have an API endpoint function which is linked to a button used ...
Watchdogs1499's user avatar
2 votes
1 answer
1k views

Refresh tokens by example using Angular and Spring Boot

I am designing out an app that would have an Angular frontend and Spring Boot (Java) backend. I was considering (but not married to) the prospect of JWT-based authentication: User logs in with ...
hotmeatballsoup's user avatar
-1 votes
2 answers
367 views

Achieving server-side rendering of data coming from a PHP API

I have been working on a blog application with Codeigniter 3.1.8 and AngularJS v1.7.8. It is intended to be versatile and easy to use. The Dashboard of the application is "pure" Codeigniter, ...
Razvan Zamfir's user avatar
-2 votes
1 answer
64 views

Can a JavaScript SPA launch executables installed on the server?

Context We have an application that is written in .NET and runs on a Citrix server. This app consists of shortcuts to external tools (like: DameWare, VNC viewer, mtsc.exe, msra.nexe, ...) that are ...
DarkLite1's user avatar
1 vote
1 answer
2k views

Node and Angular two separate applications or a single application?

I am a java developer. Since one of our developers are leaving I was handed over a project he was maintaining. He says it is a node + angular js project. But as per my understanding, backend should be ...
Leni's user avatar
  • 149
2 votes
1 answer
384 views

Implementing Business Logic in Architecture

I am currently making architecture for one application in which we have different types of user and every user has different types of functionalities to perform. I am confuse in one point if i try to ...
Uahmed's user avatar
  • 129
1 vote
0 answers
124 views

How are changes populated to FrontEnd in Microservices Event First scenario?

I've been reading recently about Event First approach to microservices where Event Store is a Single Source of Truth for all the applications (https://dzone.com/articles/data-consistency-in-...
cah1r's user avatar
  • 302
3 votes
1 answer
1k views

How do functional programming advocates use a framework like React or Angular?

I read this blog post recently: The Two Pillars of JavaScript Part 1: How to Escape the 7th Circle of Hell, which is essentially a criticism of object oriented programming, and advocacy for funtional ...
dwjohnston's user avatar
  • 2,563
0 votes
1 answer
3k views

Angular header/footer, Component or Module

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

Angular 5- Where should logout code sit?

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
5 votes
1 answer
661 views

IEC 62304, Are Software Frameworks (Spring/JEE/Angular/React) considered SOUP?

Im working on the implementation of an IEC 62304 compliant development process in our company and I have a question considering SOUP (Software of unknown Provenance). Our goal is the develop a web ...
TardigradeX's user avatar
-1 votes
1 answer
3k views

Why was Google Maps built using canvas? If it was built today, would it have rather used react/angular? Why (not)? [closed]

Google Maps' frontend is almost completely dependent on canvas. Given that it was initially developed a long time ago, is it still the best approach to take to build such a UI? If not, what is and ...
System Shock's user avatar
-3 votes
2 answers
2k views

Is it better choice to use both AngularJS and ASP.Net MVC for developing ecommerce website?

I know about MVC, But I don't have such experience with AngularJS. But both has controller and View. To develope like e-commerce site, is it good choice to choose AngularJS to do filtering with ...
Liam neesan's user avatar
3 votes
1 answer
141 views

Why JS MVC frameworks prefer data binding to UI element reference?

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
733 views

How to architect a very big web application using server and / or client rendering?

I recently finished a project which contains more than 30 different pages/features. Each one with some CRUD and more subpages. Each page is totally different from another in purpose. All of it was ...
Daniel Santos's user avatar
2 votes
1 answer
4k views

Django - separation from the frontend (Templates)

Long story short, let's assume I want to create a webpage that would enable the users to sell used cars. I am a beginner to webdev, so pardon my ignorance. Fun fact: two months ago I knew literally ...
Fidd's user avatar
  • 121
0 votes
1 answer
189 views

For what reasons would you use AngularJS expression (&) binding instead of using events?

Like the title asks, for what reasons would you use the ampersand binding in AngularJS instead of utilizing an event system--especially in a case where your application already uses events for some ...
Moismyname's user avatar
0 votes
2 answers
467 views

Load JSON immediately for SPA instead of AJAX? (Python=>AngularJS)

I have access to a Response object in my python backend for returning HTML pages, etc. I can declare headers, content-type, etc. Instead of re-engineering the Python to use something like Django/...
JacobIRR's user avatar
  • 159
3 votes
2 answers
761 views

What is the right time to go for Code Refactoring, not optimization?

I've been working on a Python(Django)/JavaScript(AngularJS) based application for some time now.(I learnt all of these on the way, had previously been a Java only programmer)and have hit moments where ...
Divij Sehgal's user avatar
-1 votes
2 answers
220 views

Front end engineering : Best way to implement a step by step check out cart

I have implemented a checkout cart like this : Navigation rules are as follows : User can move to next step only on completing the current step. But he is free to click on the previous tab and edit ...
zacurry's user avatar
  • 123
1 vote
2 answers
1k views

Stateful Single Page Application with ASP.NET Core

I'm building a simple shopping cart using Angular and ASP.NET Core with. There is no login require and user can always checkout and make payment as a guest. The front end would be built with Angular, ...
CalebC's user avatar
  • 111
1 vote
1 answer
212 views

Design Patterns for drawing a custom graph in a webapp

I am building a web application which is meant to help display prices of products. The web-app is centered around showing prices in a custom bar chart. I am thinking it should be composed of a Model ...
kiwicomb123's user avatar
11 votes
4 answers
16k views

Better ways than traditional polling methods

I'm currently in a AngularJS/Javascript environment. Currently the application using the polling method (i.e, to retrieve new data from server in a fixed amount of seconds). This is quite taxing ...
Gene's user avatar
  • 261
0 votes
0 answers
180 views

How to make my E2E tests verify results of an action?

I'm working on a project with an AngularJS app that talks to a RESTful API. We've just started writing E2E tests for the app in Protractor. I'm fairly comfortable with unit testing but new to end-to-...
Yoshi Walsh's user avatar
0 votes
1 answer
290 views

AngularJS - is there a good reason why unit testing of angularJS controller should still be written alongside with e2e tests?

Given the official tutorial of angularJS, https://docs.angularjs.org/tutorial/step_07#testing It is apparent that it only tests the controller's states (e.g. its model) when events happen (e.g. ...
Xegara's user avatar
  • 181
0 votes
1 answer
3k views

Single page app vs multi page application?

My experience has been using the hybrid approach per use case demand: Where content on same page needs to be updated, we used AJAX/SPA approach But when the page has a completely different layout/...
user3222249's user avatar
0 votes
1 answer
238 views

Does Angular2 or Angular4 offer an app state and middleware promise like React / Redux?

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,827
2 votes
1 answer
811 views

Is it true that for both React or Angular, they are also both "convention over configuration"?

In the Ruby on Rails communication, it is often said that RoR is "convention over configuration". Can you say for React / Redux / Flux and AngularJS, Angular2, they are also "convention over ...
nonopolarity's user avatar
  • 1,827
0 votes
1 answer
709 views

What are architectural approaches for converting large multipage apps to use new JavaScript frameworks?

We have many siloed legacy multipage applications. For example, a personal information collection application may contain four or five HTML4 form based applications. The backend is based on Spring ...
berlinbrown2's user avatar
2 votes
1 answer
232 views

Does AngularJS or Angular 2 provide something similar to the Redux middleware so that AJAX data appear immediately available?

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,827
2 votes
1 answer
254 views

Automatically update and test npm dependencies

I would like to automate the following sequence of events; A new version of Angular is released on Github 'Something' triggers causing all our angular applications to update their npm dependencies ...
Jags's user avatar
  • 129
4 votes
1 answer
965 views

Communication between Angular directives and their parent controller

I'm trying to provide a convention, or standard, for a parent controller to communicate with a directive in Angular. Basically the directive will have a "settings" object containing callbacks and ...
yellowblood's user avatar
-2 votes
3 answers
889 views

what is better way to architecture project

I am pretty new to angular.js world. I wanted to know best architecture for my solution. I have 4 projects in my solution. First is angular.js app solution which has below structure. Is this correct ...
Happy's user avatar
  • 115
-1 votes
1 answer
332 views

I'm building an app with Node, Express, and MongoDB. Is AngularJS necessary?

Node, Express, and MongoDB are really connected so I can understand why they are frequently used together. For a web app of medium complexity, can I get away with only using HTML/CSS and EJS for the ...
wing's user avatar
  • 7
2 votes
1 answer
380 views

Angular and desktop

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
0 votes
1 answer
1k views

Should client-side model contain foreign keys to extract data already on client

I'm currently building the front-end of an application using AngularJS. I don't have a whole lot of knowledge about the back-end, but some of the data I'm being served by the back-end developer is ...
hughesjmh's user avatar
  • 103
1 vote
0 answers
69 views

Best way to handle access to web dashboard displayed on "dumb" screen

My web application has a dashboard page written in angularjs that is intended to be displayed on a screen in a room as a way of monitoring the information therein. It's a dumb screen connected up to ...
ptr's user avatar
  • 121
1 vote
0 answers
367 views

Is this flux design for angular good?

I am currently on an angular 1.x project, and we are about to add user interactions that will cause data changes. We already identified some flows in our app that seem like flux might resolve, so we ...
guy mograbi's user avatar
0 votes
1 answer
912 views

How should I prepare my SVG for production? [closed]

I have a project in Angular1.x using a lot of SVG files. I have no idea what to do to SVG files to prepare them for production. I don't want my page to invoke 50 calls to different SVG files. So ...
guy mograbi's user avatar
13 votes
1 answer
1k views

Order and filter Server-Sent-Events in angular.js eventsource

I have a Client in AngularJS where I consume multiple SSE (Server-Sent-Events) in Java from the Server Side (there are multiple endpoints in different web servers in the backend). Diagram link I ...
vak's user avatar
  • 301
7 votes
2 answers
11k views

RESTful API communication between multiple web servers

I'm trying to understand RESTful communication, but I still have a few doubts. I have a main web application (on the right side of the Architecture) made in AngularJS, which shows data coming from ...
vak's user avatar
  • 301
-2 votes
2 answers
708 views

Understanding Backend

I recently got into website development and am in the process of making my first website using Angular 2 right now. I already created websites in the past using basic HTML and PHP but that was nothing ...
Inialk's user avatar
  • 11
2 votes
1 answer
1k views

Understanding webpack and other module loaders

I am a bit confused regarding module loaders Like I am using webpack which load modules as chunks but it is only while developing When the code gets minified it will be a single file for all scripts ...
Shikha thakur's user avatar
1 vote
1 answer
2k views

Best way to rewrite an mvc application to an angular architecture

We have an mvc application that we would like to gradually move to an angular platform. It is a wizard style app with 6-8 pages. We currently have a classic mvc layout. We would like to move to an ...
Esben Skov Pedersen's user avatar
0 votes
2 answers
171 views

AngularJS controller definition

I'm beginning using AngularJS (v1) framework, and after browsing good practices I found those examples (from this page https://github.com/johnpapa/angular-styleguide/tree/master/a1), like : /* ...
Tot's user avatar
  • 147
-4 votes
2 answers
4k views

What is best one between JSF and angular for java hibernate,spring,strut application?

I want to develop application using java frameworks(spring,hibernate,strut). This application has large complex operations.I want to know what is the best between JSF and angular? As well as i want ...
Wasantha Yapa's user avatar
1 vote
2 answers
104 views

How can I tell when the Angular2 online documentation (or any website) changes?

I'm trying to keep up-to-date with the latest-greatest from Angular2, in part by carefully reading the official online documentation. Is there a way to be notified or at least to figure out relatively ...
Andrew Willems's user avatar

1
2 3 4 5