[AngularJS] number filter is to inflexible - how to use angular formatNumber

2014-08-30 Thread Martin Kuhn
Hi, I'm not happy with the number filter (which uses angular's internal formatNumber). Because of the lack of parameters you can use... (groupSep, decimalSep etc.) I would need to call formatNumber. But it is inaccessible. Can anybody of you give me an hint if it is possible to use

Re: [AngularJS] number filter is to inflexible - how to use angular formatNumber

2014-08-30 Thread Mark Volkmann
You can write your own filter that calls formatNumber and do anything you want. --- R. Mark Volkmann Object Computing, Inc. On Aug 30, 2014, at 6:27 AM, Martin Kuhn martin.k...@gmx.at wrote: Hi, I'm not happy with the number filter (which uses angular's internal formatNumber). Because

[AngularJS] Re: which node.js framework server side to use with angularjs frontend

2014-08-30 Thread mark prades
@Alexandre Tiertant I would advise against moving to nodejs especially if want a solid ORM.NodeJS ecosystem has none(Sequelize dont qualify as solid in my book,compared to Hibernate). Stick to what you know best instead of trying to move to nodejs for the sake of it.That's my advice.

[AngularJS] Re: Does $q make sense?

2014-08-30 Thread mark prades
Javascript has one execution thread but async events are queued while waiting to be executed. $q concern isnt about threads but about wrapping an async result into an object that can be passed around. You should read more about promises ,because you clearly dont understand them. Promises are

[AngularJS] Re: Does $q make sense?

2014-08-30 Thread Jonathan Matthew Beck
I asked a question recently on the q forum, kriskowal response: $q is unrelated to kriskowal/q Meaning that questions about $q go where? $q is apparently a smaller, lighter version of kriskowal/q. If you want, you can replace it inside angular.js $q does a great job of handling asynchronous

Re: [AngularJS] Re: AngularJS cancel all pending $http requests on route change

2014-08-30 Thread Jonathan Matthew Beck
That is some of my favorite type of code right there. An elegant little wrapper that goes around another library to give me control over what I need. I may take that and create a project on GitHub. It's something we can use for in-code profiling applications that make heavy use of $http.

Re: [AngularJS] Re: Does $q make sense?

2014-08-30 Thread Eric Eslinger
As $q is a lightweight implementation of a promise spec, you can probably just post questions on SO tagged javascript / angular / promise and get some responses. If you wanted to replace it, you could. Lots of browsers actually already implement native Promise objects, so one *could* just use

[AngularJS] Running directive tests against a real backend - what did you think?

2014-08-30 Thread leif hanack
Hi there, we think it is useful to have an additional testing strategy: directive integration tests Why could this be useful? *You can test the directive AND validate the contract between frontend and backend.* This kind of test of more that a directive test (jasmine unit test) and less

[AngularJS] AngularJS Adsense

2014-08-30 Thread Leonard Teo
Hi guys, We have a pretty big AngularJS site at http://www.artstation.com. We only launched 4 months ago and it's now at 8 million+ page views per month, a lot of that is thanks to AngularJS and the speed of which people can browse artwork on the site. We want to start monetizing by adding

[AngularJS] Section Resolve in RoutePrivider and promise, how work ?

2014-08-30 Thread Ɓukasz Roggenbuck
Hi, I write authorization in angularjs and I have this problem. I'm trying to use sections of resolve in routeprovider, but not fully me it works. Because I do not know how I can get the next level routeprovider view ACCESS_LEVEL. app.js var app = angular.module(app, [ngRoute, ngAnimate,

[AngularJS] tweaking ng-table plunker

2014-08-30 Thread katherinejalos
hi am katherine :) am new to angularjs am having hard time figuring out how to tweak http://plnkr.co/edit/YD4yXc?p=preview so that when i select a row ONLY THE SINGLE ROW CONTENTS MUST BE DISPLAYED IN selected users and and previous history of selected rows shoudnt be their..? somethng

Re: [AngularJS] tweaking ng-table plunker

2014-08-30 Thread Eric Eslinger
This is not an angular problem as much as a general javascript problem. Your click handler sets the $selected attribute of the clicked user to true. So, if you want to make it so selecting one row unselects all the other rows, you have to do that on your own. I did: $scope.changeSelection =