Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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.
1
vote
1
answer
532
views
Tab management code in single-page applications acceptable violations of the DRY principle?
I have an AngularJS-based single-page app that allows the user to operate multiple items at the same time. I decided to use a multi-tab UI implemented in custom code. …
7
votes
1
answer
477
views
Whether to abstract small repeating code segments in HTML templates?
(The framework used in question is AngularJS so the question can be translated as "Whether to introduce Directives for small repeating code segments in Views")
As a developer who focuses on Java backend … In the case of AngularJS, the Directives syntax is extremely cumbersome (requires defining a JS object with nonsensical fields and a separate HTML file for the contents). …
0
votes
0
answers
113
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 a …
3
votes
1
answer
266
views
Testing async code: are long sleeps acceptable?
I am testing some AngularJS code using Selenium. …