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.
0
votes
0answers
19 views
How to implement forms with almost same fieldsets used in two pages?
I use AngularJS 1.5.
In my app I have a registration page(controller1 + template1) with form1. After registration user can change his data on his personal pages form2(controller2 + template2).
The ...
-1
votes
0answers
47 views
The best approach to obfuscate angular js based app [on hold]
What is best approach to start obfuscate angularJs (1.5) based app?
App is medium/ big (for now there is 1200+ components/ 200+ services / 300+ controllers and we have now like 30% of final product). ...
0
votes
1answer
43 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 ...
3
votes
1answer
54 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 ...
0
votes
0answers
55 views
How to use two dependent APIs in one application
I spent the last hour reading meta if my question fits better to SoftwareEngineering or StackOverflow. I ended up that this is the place.
I am on start of developing a website (and then a mobile app) ...
3
votes
2answers
123 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 ...
-2
votes
2answers
74 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 ...
0
votes
0answers
40 views
managing complex web forms
I work on an application, the core of which is a very complex set of web forms. The source of this complexity
scale, some forms contain about 50 pages, which up to 30 questions on each page
complex ...
0
votes
1answer
47 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 ...
0
votes
1answer
35 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 ...
0
votes
0answers
26 views
Redirect user to application based on role
I've asked this here rather than stack overflow as it is more of a concept question, rather than a coding bug/error.
I've inherited an old MVC4 project. We want to slowly start to retire it, and ...
0
votes
1answer
49 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 :
/* ...
-3
votes
1answer
34 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 ...
0
votes
0answers
72 views
Best Approach for Multilanguage Website - ASP.NET MVC Routing vs AngularJS Routing Translation
So I am building my website with the option for changing language on the entire website, now it came up the question to my mind.. should this be done my the server (using in my case ASP.NET MVC) ? I ...
1
vote
2answers
55 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 ...
0
votes
1answer
29 views
REST API crossresource operations structure
I'm wondering what's best practice in next use case:
I'have a view that displays data for 3 resources User, Company, and CompanyType (chosen in select, can be added dinamicaly so it's not enum).
What ...
2
votes
1answer
116 views
In a JavaScript method signature what is meant by a return type of `typeof blahBlahBlah`?
I've seen an API list methods with both of the following signatures:
methodA(...) : ReturnType
methodB(...) : typeof ReturnType
I understand the first but not the second.
My question comes ...
0
votes
1answer
21 views
How should I balance memory with network latency on a paginated table?
A web application I'm working on has a tool that queries a database and returns up to several thousand rows. When considering pagination, at what point does it make more sense to get the entire result ...
0
votes
0answers
24 views
Socket.io takes time to load up, what to do while the page is connecting…?
For a real-time forum app I'm working on currently.
It takes about 1-5 seconds for the sockets on my node.js server to connect and deliver the first payload, which is some database results from mongo....
2
votes
0answers
38 views
How to wireup the Edit Functionality of a Entity and make REST API when it contains Dropdown Values
I am having a scenario wherein we have a Product Entity or a Front End Module which can be Added, Edited and Deleted.
Now Product ( when added or edited) can contain a Dropdown called as ...
0
votes
0answers
49 views
Dashboard architecture with many widgets
I work on a web application, a dashboard that displays account movements for a client or a group of clients between two dates
and many widgets of computed data based on these movements. For example, ...
0
votes
0answers
113 views
How to design the state tree using redux?
In the last days I have searched for a documenation on how and when is it best to use redux and how to design the state tree.
My research ended in the conclution that there is no one currect answer.
...
0
votes
0answers
130 views
When do I use square brackets around routerLink in Angular2?
In Angular 2 (currently 2.0.0-rc.6), routerLink is used as a directive to indicate a path we wish to follow in our routing, e.g. in response to clicking a link.
However, in the documentation both of ...
2
votes
1answer
121 views
Globally interesting state in angularjs
I've created maybe five services like RoleService, AuthService, etc. Each of them has some state (e.g., RoleService.role, AuthService.isLoggedIn) affecting a lot of controllers and some other services ...
1
vote
2answers
291 views
Scalable Angular SPA Architecture
I am developing an Angular SPA and I am currently in the design phase. I have created a sample architecture which I am planing to use in my SPA but I would get some feedback because I want the ...
0
votes
0answers
64 views
Difference between .net mvc model binding and angular js model binding
I am very new in angular js.I am confused what is the 2 way data binding in angularjs.
Suppose In my mvc4 application i have bind the model with the view and user changes the value of a textbox which ...
1
vote
0answers
378 views
Composing large Angular 2 app with multiple small apps within
After long 3 months of debate and research in choosing between React (with Redux) and Angular 2, front-end team in my company has concluded to go with Angular 2 (given that it is more suited for our ...
0
votes
1answer
122 views
Populate User info between services on microservices architecture
I'm working on a microservices architecture which contains a couple a REST API as a services and a SPA as an interface. In addition, there are an "special" (is not speacial at all, it just special ...
2
votes
0answers
129 views
Different type of MEAN Stack Architectures
I am reading a book (Getting MEAN by Simon Holmes) about MEAN Stack which talks about different architectures that can be used while developing an app in MEAN Stack and I got a little confused with ...
0
votes
1answer
930 views
Is Angular 2 ready for production use or should I use AngularJS 1? [closed]
I want to learn AngularJS but on the website I see a button with the text Try the new Angular 2.
Is Angular 2 ready for production use or should I learn and use AngularJS 1?
0
votes
0answers
112 views
Strategy To Upgrade Frontend Javascript Code - Typescript or New Framework?
Here is my scenario. I would like advice on which path to follow, along with good reasons as to why. It would even be better if you could give an example based on experience of a similar decision but ...
0
votes
1answer
60 views
Recommended strategy for changing javascript UI table library?
tl;dr - On an existing angularjs grid library, am moving to another.
Is it better to wipe out as much code as possible and in a sense code from scratch to the same featureset, or work around what's ...
0
votes
1answer
152 views
Is it a Good Idea to use REST API from Javascript Code
I am Developing a E-Commerce Web Application as a part of my learning using Spring Hibernate and AngularJs.
I have written some Rest API's Controllers in Spring and then from the Web Component i am ...
2
votes
1answer
252 views
How should I decide switching to vue.js from angular or not as a team member?
Currently I am working on a project that the view depends on data input by user a lot, so AngularJS was used in the project. This was the usual choice of our small team. (so small it is still below 10 ...
0
votes
0answers
64 views
Exposing 'utility' functions with AngularJS
I have an single-page Angular application which contains several controllers, directives and services. The fact here is that there are some controllers that hold two type of methods:
"Scope" methods, ...
2
votes
4answers
237 views
Unit of Work AngularJS
I am writing an application in Angular JS (1.5), and I need to be able to track a model for changes (updates/deletes/additions). For example, I have an ng-model that holds an array of user pets. This ...
0
votes
0answers
58 views
AngularJS: cost of deep watching infrequently changed object trees
I am working on a complex widget with a "preferences" object tree with 50-100 objects and 3-5 properties in each object. Each property is watched by Angular and controls how some aspects of the data ...
0
votes
0answers
45 views
Automating the deployment of a web application to a shared host
I was not really sure in which SO community I should ask this question, so I am asking it here.
I have a basic Angular web application, and I am ready to deploy. The app has no backend to deploy (I ...
2
votes
1answer
175 views
Separate codebase for responsive website and mobile apps?
I made a simple responsive single page web app (about 5 views) to replace our old jsf web application using angularjs+bootstrap. Now looking into frameworks like ionic, cordova and trigger.io.
what I ...
0
votes
0answers
47 views
Is passing controllers to another controller a good practice in AngularJS?
I have a register page that uses text inputs as well as an avatar input. There's another part in the website where the avatar input is also used, but it's used alone this time. So I'd like to make it ...
2
votes
1answer
195 views
Structuring a Game with Angular.JS [closed]
For a GameJam I'm trying to code a simple web-based text adventure game with sprites and small animations in AngularJS. I'm a little new to Angular and am having some trouble figuring out how to ...
0
votes
0answers
28 views
Do you inject everything explicitly used in a module even if it is loaded in a “parent” module?
When you build a app modularized what do you inject into submodules? Only those things that are used there but not added at the top level, or do you inject everything that is explicitly used in that ...
0
votes
1answer
81 views
Web App Authentication's Architecture Related Query
I have a web app that makes use of node.js in the backend and angulajs on the front end.
Let's say I have a user who has the ability to login via multiple systems; I must allow multiple logins.
I ...
2
votes
1answer
80 views
Linking service and factory functions to controller $scopes in Angular
I'm trying to keep my controllers as thin as possible, so I keep my domain logic in services and factories.
When I need to call a function in response to a user action like a click I assign the ...
4
votes
2answers
114 views
Angular View Model Validation
The view model seems to be the most appropriate place to perform validation yet Angular seems to be pushing me down the popular form validation route.
Why Model Validation?
DRY - Applying validation ...
2
votes
1answer
282 views
REST is not appropriate for business applications because of necessary to distribute business logic accross layers. REST alternative required!
I have Spring+Java Server Faces (Facelets) application for which I would like to create Single Page Application (SPA) version, e.g. using AngularJS (which is the best and most popular GUI framework). ...
1
vote
0answers
238 views
Can't separate code, angular 1 component router
I'm trying to organize my code a bit differently than the tutorial for component routing. Quite simply I want to my app to have this structure.
app.js
-components/
+-settings/
+-settings.js
+-...
9
votes
3answers
1k views
Where to put the Angular app in a ASP.NET Web API solution?
I'm starting a greenfield app and I want to use ASP.NET (4.6) and Angular 2. For the backend I have created a project in Visual Studio, and now I'm wondering where to put the Angular app. I really ...
2
votes
3answers
193 views
Can one html page with web services replace current server-client technology?
I have everything I need in 2 services in form of REST api's, is it a good idea or even possible to replace my existing asp.net app by writing ONE single html page (embedded with Angular templates) ...
2
votes
2answers
981 views
Client-side Rendering vs JSP's for Spring MVC Front End Dev
Firstly, a note on the app I'm about to discuss: It's quite large, on the order of magnitude of a service app like Airbnb -- i.e., it's not just a static web page, it is a full web application. It's ...