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
2answers
168 views
Why don't we completely de-couple frontend JS frameworks and backend APIs?
Whenever we implement a frontend framework in the likes of Backbone, AngularJS etc. there's an integration process involved with the backend technologies like NodeJS, Rails, Yii etc. (like setting up ...
-2
votes
0answers
103 views
How do you practice / improve your skills? [on hold]
I've been developing applications for a few years now and I always try to read reddit / blog posts to remain up to date with all the available frameworks and technologies.
At this moment in my life ...
0
votes
1answer
131 views
What is the simplest path to a RESTful JSON backend served up in Java for an AngularJS application? [on hold]
I wrote a prototype in Rails in a couple weeks that has a couple forms, combined with AngularJS and Bootstrap to create a fluid UI backed by REST web services. When finished though, it was discussed ...
-1
votes
1answer
73 views
how to master angular? [closed]
I know basic of Angular, I read AngularJS book from O'Reilly also learn few things by asking Questions on SO (some of them I answer myself). Now, how can I learn more about Angular, how can I become a ...
0
votes
0answers
88 views
AngularJS: structuring a web application with multiple ng-apps
The blogosphere has a number of articles on the topic of AngularJS app structuring guidelines such as these (and others):
http://www.johnpapa.net/angular-app-structuring-guidelines/
...
0
votes
0answers
40 views
What is a good method of storing test data for development and unit testing with angular and jasmine?
What is a good method of storing JSON data/objects for development and unit testing with angular and jasmine?
I have seen some ways of accomplishing this. However, since I am new to unit testing with ...
4
votes
3answers
181 views
Dividing responsibilities between client and server
I'm working on a Web app that uses node.js on the server and AngularJS on the client. I'm new to Angular, but enables writing client-side applications that can be more self-contained than some other ...
-1
votes
1answer
172 views
Suggested setup for angularJS development in Visual Studio 2013 [closed]
I am starting with AngularJS. The back end will be Web API (which is new to me as well) and I'd like to use just one IDE, so I'm trying to figure out how to setup a project in Visual Studio 2013 for ...
0
votes
1answer
135 views
Global variables in javascript
I don't consider myself a highly skilled javascript developer, but I thought I got one thing right for sure: don't create global variables unless you really have to.
I've been learning angularjs ...
12
votes
4answers
490 views
Progressive Enhancement vs. Single Page Apps
I just got back from a conference in Boston called An Event Apart.
A really popular theme amongst the speakers was the idea of progressive enhancement - a site's content should go in the HTML, and ...
1
vote
0answers
56 views
Best API for an AngularJS directive that manipulates a collection [closed]
I'm working on a reusable directive that allows for unrolling the items in the directive via ng-repeat and supports removing and reordering items. The setup might look like the following:
...
0
votes
4answers
188 views
Combining two MVC frameworks in a project
Is it any good to combine two MVC frameworks together in a project? Is it a fairly common approach? I am thinking about using a serverside framework like CodeIgniter/Laravel and client side framework ...
3
votes
0answers
34 views
Questions about Angular $q defer object [migrated]
I'm new with Angular and I've been playing around with it for almost 2 weeks now.
I had an implementation issue that I managed to solve. The overview of the problem is that I had a main.html that ...
0
votes
0answers
38 views
Reducing code complexity for an interface between angular and d3
I'm playing around with different ways of integrating d3 and angular, in the context of learning both of these frameworks, and am hoping for some input:
My client application receives a JSON array ...
1
vote
0answers
37 views
Idiomatic AngularJS modal [migrated]
I'm getting to grips with AngularJS - and in my struggle I've read that $broadcast/$emit is overused. Having worked with Backbone in the past, this service seems like a natural replacement for pubSub, ...
0
votes
2answers
258 views
asp.net mvc vs angular.js model binding
So I've noticed a trend lately of .net web developers using angular.js on the client side of applications and I've become more curious as I play around with angular and compare it to how I would do ...
0
votes
0answers
70 views
Is my application secure enough
first of all, I don't have any code to display in my question here, because I'm still designing the application structure, so i only got design developed.
I'm building a phone application that I'm ...
1
vote
3answers
1k 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
368 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 ...
2
votes
0answers
92 views
scaffolding a multi-angular-app portal with usersystem
I'm trying to find the best way of developing a portal that a user can log in to and then be presented with a range of different apps (angular). They should share the same api-backend.
I think that ...
1
vote
1answer
79 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 ...
3
votes
1answer
147 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
334 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
139 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
283 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 ...
8
votes
1answer
1k 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 ...
2
votes
2answers
2k 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
194 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
...
5
votes
1answer
1k 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
621 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
157 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
160 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
589 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 ...