0
votes
2answers
20 views
how to disable the UI until a response from the server with AngularJS
I am building a web app with angularjs and nodejs (express).
Many times in my app a user will do things that will comunicate with the server and according to the result things will happen.
Whenever ...
0
votes
2answers
28 views
How to PUT only some fields with Restangular?
Let's say I have a resource with several fields, and some of them are read-only. Or maybe they belong in different use cases that I would like to handle differently on the server.
For instance, my ...
1
vote
1answer
14 views
How can I pass params with AngularJS $resource.query?
At the moment, the url localhost/view/titles will use the route, controller and service below, and the server will return a list of all title objects. How do I extend the service to allow for ...
1
vote
1answer
763 views
Multiple independent partials in AngularJS
I've been working on a Angular.js tutorial that I now want to extend. It's a simple CRUD app that has a list of templates: list.html (just records in a db with a title and content), a create form: ...
0
votes
1answer
30 views
Using a Pyramid view for an AngularJS dialog template
I have written a web application using Pyramid, a Python web framework.
In one page of my web application, I'd like to implement dialogs. I'm trying to learn AngularJS with AngularUI Bootstrap to ...
0
votes
1answer
55 views
+50
How to use this angular factory in controller?
Factory:
factory('cordovaReady', function () {
return function (fn) {
var queue = [];
var impl = function () {
queue.push(Array.prototype.slice.call(arguments));
...
3
votes
0answers
86 views
Update model from directive from $apply or $digest cycle in AngularJS
I try update model from directive and have some trouble when $apply or $digest already in progress. And I have some questions:
Why scope[attrs.ngModel] is exist, but ngModel.$modelValue isn't
exist ...
3
votes
0answers
218 views
AngularJS Outer ng-repeat not to register watches on inner ng-repeat
This is in relation with my question - Angular JS consumes more browser memory
My problem here is I need nested ng-repeats and the nested ng-repeats consumes more memory because of more watches being ...
3
votes
0answers
754 views
ngGrid Multi Column Filtering
I am using the ngGrid module for AngularJS to show some paged data. I want to be able to search across multiple columns, however using an OR search.
Lets say I have a column with the following ...
2
votes
0answers
25 views
Basic HATEOAS using angular - loading the entry point
I'm trying to do a clean implementation of a HATEOAS-style REST-api. My server side looks somewhat like this (in pseudo-HTTP and pseudo-JSON):
GET /api-entry-point
returns (with proper Content-Type ...
2
votes
0answers
166 views
Angularjs Routing behaves strange when using tabset directive from ui-bootstrap
I've been trying to solve a strange behaviour. Whenever I use the tabset directive from ui-bootstrap in one of my ui-router templates, I am unable to navigate away from that particular state. The ...
1
vote
0answers
46 views
Nested ng-repeat in angularJS doesn't work
I am a student and learning angularJS for my project. Please bear with me for any silly questions.
I am trying to iterate through an array of challenges using ng-repeat[myChallenge in ...
0
votes
0answers
40 views
How to prevent form validation error when DOM is changed?
I have a form within a Twitter Bootstrap dialog (AngluarJS Directive) but, am having trouble keeping a reference to the form when the modal closes.
We are using the technique shown here to simplify ...
0
votes
0answers
25 views
Creating/Finding a pure AngularJS lightbox
I am looking for a pure AngularJS lightbox clone. What are the recommendations? Googling doesn't bring up anything for me. I'd rather not create one from scratch. Also open to those that are not ...
0
votes
0answers
9 views
AngularFire removes Firebase locations
I'm trying to create a collaborative story-making app, using Angular and Firebase. Follow this link to get an idea of where I'm headed so far. You click on the "plus" icon to show a textarea, and ...