Re: [AngularJS] Re: Authentication for restangular or $http for rest services

2014-05-30 Thread Alesei N
Here is stackoverflow question that has been taken care of. http://stackoverflow.com/questions/11876777/angularjs-set-http-header-for-one-request Hope this helps, let me know if you have more specific question. -- You received this message because you are subscribed to the Google Groups "Angula

[AngularJS] Authentication for restangular or $http for rest services

2014-05-29 Thread Alesei N
Basic auth? Http header. -- 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@googlegr

Re: [AngularJS] Re: Yet Another IE9 Compatibility Problem

2014-04-29 Thread Alesei N
t I imagined that > I would have to monkeypatch Angular in order to make it work > > > On Tuesday, April 29, 2014 12:41:32 PM UTC-7, Alesei N wrote: > >> so to fix that, you need to convert this route for ie9 into >> domain.com/#!/v2/challenges/new from domain.com/v2/challenges

Re: [AngularJS] Re: Yet Another IE9 Compatibility Problem

2014-04-29 Thread Alesei N
Kaul wrote: > That is correct. > > On Monday, April 28, 2014 8:38:14 PM UTC-7, Alesei N wrote: >> >> correct me if I am wrong, if you load */v2/challenges/new* in ie9, you >> get base route resolution in angular app right? instead of >> */v2/challenges/new*

Re: [AngularJS] Re: Yet Another IE9 Compatibility Problem

2014-04-28 Thread Alesei N
, but maybe there's a > general answer. > > Again, I really appreciate your help so far. This is super confusing to me. > > (Sorry for the odd delay; had to step away from this problem for a few > days) > > > > > On Thursday, April 24, 2014 12:36:16 PM UTC-

Re: [AngularJS] Re: Yet Another IE9 Compatibility Problem

2014-04-24 Thread Alesei N
v2/challenges/new and someone requesting root > route? > > Thanks again! > > > On Thursday, April 24, 2014 6:02:36 AM UTC-7, Alesei N wrote: >> >> it means, all the routes that you have set up in your SPA, should have >> corresponding Rails routes. So when you ar

[AngularJS] Re: Yet Another IE9 Compatibility Problem

2014-04-24 Thread Alesei N
it means, all the routes that you have set up in your SPA, should have corresponding Rails routes. So when you are hitting that route directly in browser, your rails app can serve html that has references to your angular app javascript and styles. In case of hash bang and ie9 it depends how far

Re: [AngularJS] Re: I don't want to camelCase my directive names

2014-04-10 Thread Alesei N
i am sorry, i am still lost in terms what you are trying to describe. Code sample would be me more descriptive. I am not sure how is this a problem, i am yet to find camelCase in directive's angular('module').directive('camelCase',[function(){}]) introducing any issues for me to write it as or .

[AngularJS] Re: I don't want to camelCase my directive names

2014-04-10 Thread Alesei N
what do you mean by dynamically creating directives? please elaborate. On Wednesday, April 9, 2014 4:17:13 PM UTC-5, Nick Retallack wrote: > > Today I tried to dynamically create and use some directives at runtime. > Then I realized I have to spell them differently when I create them from > whe

[AngularJS] Re: I don't want to camelCase my directive names

2014-04-10 Thread Alesei N
what do you mean by dynamically creating directives? please elaborate. On Wednesday, April 9, 2014 4:17:13 PM UTC-5, Nick Retallack wrote: > > Today I tried to dynamically create and use some directives at runtime. > Then I realized I have to spell them differently when I create them from > whe

[AngularJS] Re: Dynamically Adding Directives

2014-02-21 Thread Alesei N
I don't think you have to, if I understand you correctly, you can use either ng-if or ng-show. See documentation, but you could basically show these conditionally. NG-IF would be equivalent of conditional/dynamic rendering of any specific directive. NG-SHOW would basically set display:block on

Re: [AngularJS] Re: Global variables

2014-02-14 Thread Alesei N
want that once my first call goes to back end and fetch response, I want > to keep this response in whole app. > > > Pushpendra > > > On 14 February 2014 09:20, Alesei N wrote: > >> You can write to so called "config" after you injected it. >> >>

Re: [AngularJS] Re: Global variables

2014-02-13 Thread Alesei N
You can write to so called "config" after you injected it. Initial post asks how to set global variables, this is one way to do this, as this will be available through out app any where you inject it. you could also approach this through. app.run(function ($rootScope) { $rootScope.someData

[AngularJS] Re: Global variables

2014-02-13 Thread Alesei N
You can use .value('config',{}); Then inject it in your main controller, where you could expose this config through $rootScope. Let me know if you need more configuration. On Thursday, February 13, 2014 7:41:22 AM UTC-6, Pushpendra Kumar wrote: > > Hello All, > > I wan

[AngularJS] Re: Angular Js Vs Ember Js

2014-01-18 Thread Alesei N
I haven't worked with ember enough, very little to extent. We chose AngularJs as a wide organization pick. So as far as i have been working on this app I am on right now. We are doing well. Every frame work has its pros and cons, its all about how everything aligns with team values as Mike said

[AngularJS] Re: Button

2014-01-09 Thread Alesei N
the angular way, would be to use attribute "ng-href" in a tag: http://www.google.com";>google link this should not interfere with routing, and should just go to google page. But this is kind of weird question for angular group, take a look at docs too: http://docs.angularjs.org/api/ng.directive