Re: [AngularJS] Re: Best way to architect global disabling of UI components during time-intensive operations

2013-12-30 Thread Sander Elias
Hi Frank, Angular takes care of that. just make sure there is a digest cycle before entering your time-consuming function. Just like the timeout in the previous messages. I created a small plunk to show how it works: In this sample I used a setTimeout on purpose, to emu

[AngularJS] Re: Display Enum text in Angularjs

2013-12-30 Thread Aleck Landgraf
See: http://stackoverflow.com/questions/11985863/how-to-use-ng-repeat-for-dictionaries-in-angularjs You can iterate over objects or dictionaries like so: {{name}}: {{age}} where items = {"a name": 25, "another name": 35}; so in your case: {{key}} On Monday, December 30, 2013 12:43:44 PM UT

Re: [AngularJS] Re: angularjs and grails.

2013-12-30 Thread Praveen Gandhi
I am using Angular with Grails REST. On Tue, Dec 31, 2013 at 6:13 AM, Daniel Tabuenca wrote: > I'm sure there is plenty of people using angular with grails, but you will > get a better response if you ask your specific question, since angular > problems or issues are similar no matter what back

Re: [AngularJS] Display Enum text in Angularjs

2013-12-30 Thread satish venkatakrishnan
You are looking for filters.. But you need write a custom one On Dec 31, 2013 2:13 AM, "Arun Kumar" wrote: > Hi , > > I have an enum {available=0 and Open=1}.When i display in ng-reapeat..it > is hsowing 1/0.I want it to be displayed as Available intead of 0 and Open > instead on 1 .Please help m

[AngularJS] Re: Any of you using Bootstrap 3 yet? aka, one of AngularJS's kryptonite because of how you have to wrap everything w/ Directives :-)

2013-12-30 Thread Ken Yee
On Saturday, December 28, 2013 9:09:49 PM UTC-5, Luiz Americo Pereira Camara wrote: > > Now i'm reevaluating Backbone as a option (reading Backbone Fundamentals > now). > Backbone is totally different FYI...more minimalistic so you can add more stuff on top of it like Knockout. I'd compare A

[AngularJS] Re: angularjs and grails.

2013-12-30 Thread Daniel Tabuenca
I'm sure there is plenty of people using angular with grails, but you will get a better response if you ask your specific question, since angular problems or issues are similar no matter what back-end you use. On Monday, December 30, 2013 3:17:44 PM UTC-8, Mauro Sanna wrote: > > none? > > On Su

[AngularJS] Re: angularjs and grails.

2013-12-30 Thread Mauro Sanna
none? On Sunday, December 29, 2013 1:33:39 PM UTC+1, Mauro Sanna wrote: > > Hi, I want to know if there is someone using angularjs with grails > framework, I have some little problems and I'm in stand by for days. > -- You received this message because you are subscribed to the Google Groups "

[AngularJS] Blocked frame error when signing in with gplus implemented with angularjs

2013-12-30 Thread Samuel Ako
am using angular js to implement sign in with Google plus. At certain times everything works just fine, but once a while i get the following error; Error: Blocked a frame with origin "http://localhost:8080"; from accessing a cross-origin frame. at Object.stringify (native) at oa ( http:

Re: [AngularJS] Re: Best way to architect global disabling of UI components during time-intensive operations

2013-12-30 Thread Frank Schwieterman
Hi Sander. For your solution, I wonder how/if other components using working.aml() during render know to update their display when the working state changes? It seems to do this you still need to broadcast an event, copying the busy status to a $scope variable. On Tuesday, May 28, 2013 7:33

[AngularJS] Consuming angular directives from ember

2013-12-30 Thread David Nelson
>From my experience using both, angular directives allow much better >composability and reuse than ember components, which becomes especially >apparent when nesting components. For people who must use ember, does anyone >have an approach to consuming angular directives from ember? Thanks! --

[AngularJS] Display Enum text in Angularjs

2013-12-30 Thread Arun Kumar
Hi , I have an enum {available=0 and Open=1}.When i display in ng-reapeat..it is hsowing 1/0.I want it to be displayed as Available intead of 0 and Open instead on 1 .Please help me. Thanks, Arun -- You received this message because you are subscribed to the Google Groups "AngularJS" group

[AngularJS] Re: ng-grid inside an ng-grid?

2013-12-30 Thread Rob Hensley
I have found examples of adding a row to an existing grid (basically, just push some JSON into the model), but my "new row" needs to have all-new columns, so that doesn't work for me. How about a cellTemplate that is styled so that 1) it is hidden initially and 2) it appears on the line below t

[AngularJS] Re: ng-grid inside an ng-grid?

2013-12-30 Thread Rob Hensley
Anyone have an idea for this? Seems like someone would have tried something like this before... On Friday, December 20, 2013 11:30:33 AM UTC-6, Rob Hensley wrote: > > Hello. I am fairly new to Angular, and I am attempting to solve a problem > that would be easy in jQuery, but I having a tough ti

[AngularJS] Re: Printable Developer Guide w/ Print CSS -> DeveloperGuide.pdf available for download

2013-12-30 Thread Reza Alemy
Matt, this is very useful. Thanks a lot. Now I can continue reading the docs during the flight :) One question though, how come your pdf doesn't have a header and footer with the path to the file that was printed? mine has an ugly line on the top with page number I'd love to learn how to get rid

Re: [AngularJS] Re: error messages not very helpful

2013-12-30 Thread Mark Volkmann
Right you are. I see it now. I had missed it because it was buried between many copies of the long, bad error message. Here are the good parts: Error: [$injector:modulerr] Failed to instantiate module KarmaDemo due to: Error: [$injector:modulerr] Failed to instantiate module ngRout

[AngularJS] How to unittest something that happens in run phase (rootScope event listening)

2013-12-30 Thread Alon Nisser
I have something that must be on rootScope (also suggestions are welcome) a listener on stateChangeError events that reroutes them for error handling. I can't find how can I access the run phase in my unit testing? to unittest the specific listeners? I'll appreciate help/suggestions - Thanks!

Re: [AngularJS] How to resize images with angularjs

2013-12-30 Thread ANSURAJ KHADANGA
Hello Aadithya, I want to enable image re-sizing similar to that of in jQuery UI ( with handlers and stuff ). I did not find any demo link to understand and work on. If you have worked on it, let me know. Thanks, Ansuraj On Friday, December 27, 2013 1:19:01 PM UTC+5:30, Aadithya Udupa wrote:

[AngularJS] Re: Is there any node js driver for h2 database?

2013-12-30 Thread Daniel Tabuenca
H2 has beta support for postgresql network protocol, so if you can't find an h2 driver you might see if you can get it to work with a postgres driver. Also, there are some examples floating around about how to use JDBC with node, so that might be another alternative. On Sunday, December 29, 20

[AngularJS] Re: How to represent behaviors in AngularJS?

2013-12-30 Thread Daniel Tabuenca
>> >> {{person.name}} >> {{person.details}} >> >> >> >> Now few things about this: > * say someone puts 0 or -1 or {} or [] or whatever other value there - > which test of yours fail? > * what stops me from starting to write 'person.detailsVisible = > person.details ? !person.detai