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:

 Have you checked this out? http://bit.ly/19squST

 /Aadithya


 On Fri, Dec 27, 2013 at 1:13 PM, ANSURAJ KHADANGA 
 ans...@gmail.comjavascript:
  wrote:

 Hello I come from a jquery backgrand. I am looking for a directive/module 
 to resize images in client side, just like that of jquery-ui resize 
 feature. If there is any feature in Angular to achieve it, Please let me 
 know.

 Thanks in adance,
 Ansuraj

 -- 
 You received this message because you are subscribed to the Google Groups 
 AngularJS group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to angular+u...@googlegroups.com javascript:.
 To post to this group, send email to ang...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/angular.
 For more options, visit https://groups.google.com/groups/opt_out.




 -- 
 Regards,
 Aadithya C Udupa 


-- 
You received this message because you are subscribed to the Google Groups 
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.


[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 time imagining the 
 Angular solution to this problem.

 Basically, I have an ng-grid, and I would like to add another ng-grid (or 
 some similar object) under each row. Sort of like an ng-grid with a group 
 option, but with all of the ng-grid sorting, etc. on the top-level grid.

 If this were jQuery, I would just build my HTML dynamically and append to 
 the outerHtml of each row. Not only does that seem the antithesis of good 
 Angular design, it seems ng-grid actively tries to stop you from 
 manipulating the DOM in this manner.

 I am not expecting production-ready code from this post; I just need some 
 ideas to get me started. Thank you in advance for your time.


-- 
You received this message because you are subscribed to the Google Groups 
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.


[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.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.


[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!

-- 
You received this message because you are subscribed to the Google Groups 
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.


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:24 PM UTC-7, Sander Elias wrote:

 Hi Jonah,

 I would go for the service, you can use it wherever you would. Inject it 
 into your directive, and into the controllers where you need it. 
 the service would look something like:
 .factory(working, [function () {
 var busy = false;
 return {
 amI: function () {return busy; },
 go: function () { busy = true; },
 done: function () { busy = false; }
 };
 }])
 in your directive you can do:
   working.go();
   function redrawHack() {
 timeIntensiveFunction();
 working.done();
   }
   $timeout(redrawHack, 10);

 and in your template something like:
 div ng-show=working.amI()busy/div
 div my-great-ui ng-hide=working.amI()../div

 if you have more then one thing that might be busy, and need more then one 
 hold state, simply expand the service to accept a form of an ID.

 Regards
 Sander Elias


-- 
You received this message because you are subscribed to the Google Groups 
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.


[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://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js:14:128)
at e.defaults.transformRequest (
http://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js:63:136)
at 
http://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js:62:337   
  at Array.forEach (native)
at q (
http://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js:7:274)
at mc (
http://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js:62:319)
at f (
http://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js:65:102)
at w (
http://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js:92:5)
at w (
http://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js:92:5) 
angular.js:9383

But now, it doesn't work at all, and i keep getting this error in the 
browser console.

I would appreciate any help thanks

-- 
You received this message because you are subscribed to the Google Groups 
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.


[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 group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.


[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 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 group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.


[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 Angular more w/ bigger frameworks like Ember.js or Ext.js 
(though I'm not a fan of Ext.js because I thought their mobile templates 
weren't great when I tried a prototype app w/ it).

p.s., hooray for ui-bootstrap!  Thanks to Pawel and the rest of their 
contributors for their hard work.  It'd be interesting to know what the 
hardest part of the effort as a retrospective for some eventual Bootstrap 4 
:-)

-- 
You received this message because you are subscribed to the Google Groups 
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.


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 aru...@gmail.com 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 me.

 Thanks,
 Arun

 --
 You received this message because you are subscribed to the Google Groups
 AngularJS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to angular+unsubscr...@googlegroups.com.
 To post to this group, send email to angular@googlegroups.com.
 Visit this group at http://groups.google.com/group/angular.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.


[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:

li ng-repeat=(name, age) in items{{name}}: {{age}}/li

where items = {a name: 25, another name: 35};

so in your case:
li ng-repeat=(key, value) in enum {{key}} /li


On Monday, December 30, 2013 12:43:44 PM UTC-8, 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 me.
  
 Thanks,
 Arun


-- 
You received this message because you are subscribed to the Google Groups 
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.


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 http://goo.gl/0y95Zy to show how it works: 

In this sample I used a setTimeout on purpose, to emulate anything that's 
not angular. Normal use, I would advise using AngularJS own $timeout.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.