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.

learn more… | top users | synonyms

0
votes
2answers
50 views

Server side C# MVC with AngularJS

I like using .NET MVC and have used it quite a bit in the past. I have also built SPA's using AngularJS with no page loads other than the initial one. I think I want to use a blend of the two in ...
3
votes
2answers
96 views

Decoupling Server and Client using REST API

I was thinking about how I can decouple a web-application completely into a server-side and a client-side component. I want to decouple the app to the extent that I can host both components on ...
0
votes
1answer
33 views

How should my AngularJS “wizard” be structured?

For brevity's sake, consider the following scenario: Part of my application is a wizard for bringing on new clients and it's a dynamic page. One step contains billing information, another step is ...
2
votes
1answer
79 views

Should front-end integration tests make HTTP requests?

I am developing a single-page web application using AngularJS. Data for this application is consumed over a REST API which is well tested in its own right. The Angular application has a bunch of unit ...
0
votes
0answers
171 views

AngularJS: directives and controllers: resolve, loading, reloading

I have a philosophy question about AngularJS and directives but correct implementation of the next problem solves it. So, I need an AngularJS directive, It loads some data via several (not one!) ...
1
vote
0answers
99 views

How many Angular Controllers and/or Directives is too many?

I'm building a large, editable data table with angular, and I'm trying to figure out what the best practice is. The table will be a couple of hundred rows, with a couple of dozen columns, so upwards ...
1
vote
1answer
185 views

Where should I start reading AngularJS's source code?

After reading this article I realized that I really didn't read any "serious" source code during my 3-years as a professional developer. Recently I started a new web-project which makes heavy use of ...
5
votes
1answer
270 views

Communication between nested directives

There seem to be quite a few ways of communicating between directives. Say you have nested directives, where the inner directives must communicate something to the outer (e.g. it's been chosen by the ...
1
vote
2answers
1k views

Should angularjs directive directly interact with services or is it considered an anti-pattern?

Which one is considered better: having a directive that interacts with services directly or having a directive that exposes certain hooks to which controller may bind behaviour (involving ...
4
votes
1answer
153 views

Session management in a Service Oriented Architecture

Where should you manage a users session in a SOA? Should you manage it in the Web Service or in the client and why? My application is SPA (Considering that this will be the stacked that will be used ...
4
votes
1answer
803 views

The practical size limits of an AngularJS based application [closed]

We have been tasked with replacing a series of 25 year old mainframe applications with web applications. There are 4 applications in the series and we are trying to come up with a stack that will ...
0
votes
2answers
446 views

Custom directive or ng-show/hide

On my form I have an icon which represents whether my entity is locked (shown by a locked padlock) or unlocked (an open padlock). At the model level, this is represented by a boolean property ...
0
votes
0answers
134 views

Design advice for building pluggable componentry in AngularJS

I'm currently working on a team that's developed several, extremely similar web applications in flash, and wants them ported into JavaScript. They also want a single application harness to host all of ...
1
vote
2answers
149 views

What parts of functionality should be refactored into a directive?

I am creating an application from legacy code using AngularJS. I wonder what parts of my code should be moved into a directive. For example, iI had thought of moving a table which is used multiple ...
2
votes
1answer
371 views

AngularJS dealing with large data sets (Strategy)

I am working on developing a personal temperature logging viewer based on my rasppi curl'ing data into my web server's api. Temperatures are taken every 2 seconds and I can have several temperature ...