[AngularJS] Localized URLs, Named Routes

2016-09-22 Thread Juan David Arroyave Henao
Hi all! We are currently trying to have named routes in our SPA. Depending on the language, we should have: www.website.com/help www.website.com/ayuda www.website.com/hifen Also, in our references, we should be able to configure: href=“/help” or href=“/ayuda” depending on the language.

[AngularJS] Re: Extending angular 2 tootiral dynamic-form from cookbook!

2016-09-22 Thread Sheki Shral
I found the bug, the problem was that I was passing the same reference in the form group her is what i changed: //question-control.service.ts toFormGroup(formelements: QuestionBase[] ) { let group:any = {}; formelements.forEach(element => { if(element.controlType

[AngularJS] Angular 2 (Final): resetConfig to add routes to lazy loaded routes

2016-09-22 Thread Andrea Bertoldo
Hello, I have posted a question on Stackoverflow but it's not getting answers. It's about dynamically adding routes to a lazy loaded module (with its own routes.config file) so as to load modules in multiple router outlets, something that isn't covered on the official documentation and doesn't s

[AngularJS] Re: [Angular2 - CLI ] Subdomain

2016-09-22 Thread guillaume
Thanks for your answer, i will check it :) Le jeudi 22 septembre 2016 04:56:31 UTC+2, Sander Elias a écrit : > > Hi, > > Configure your DNS and IP configuration the right way. If both addresses > get to the same IP, you will get the same result. > > Regards > Sander > -- You received this mess

[AngularJS] Hiring SharePoint Developer at Washington DC

2016-09-22 Thread Vijay Lakki LLC
Hi Partner, This is Vijay from Lakki, LLC. trying to reach you regarding a job opening with us. If you would be interested in the below job description let us know your interest in the same.Please help me out below position. Role: SharePoint developer Location: Washington DC. Job type: Contract

[AngularJS] Many resolvers ^RC5

2016-09-22 Thread Капитан Енот
Is it possible to register resolve-guards https://angular.io/docs/ts/latest/guide/router.html#!#resolve-guard in of the respective components(SomeResolve => SomeComponents), not in module? If you do, then throw error "No provider from *Resolver name in routing.config.ts*" @Component({ p

[AngularJS] Auto-formatting input values => FormControl.patchValue() resets cursor position

2016-09-22 Thread Nicolas Cusson
Hey there, I'm trying to make a small feature to format the content of a textbox as the user types in. The only issue is that patchValue resets the cursor position.I'm wondering if this is done by design or it is a side effect of the way the value is updated. Here are my questions : I was not

[AngularJS] Angularjs add validation to dynamic fields using $compile

2016-09-22 Thread Mohamad Najia
Am trying to add required to an input element in my form. However, the form is dynamic.If I put the element manually in the page it works,but if i use the $compile it doesn't work. My Html: Save

[AngularJS] Angularjs add validation to dynamic fields using $compile

2016-09-22 Thread Mohamad Najia
Am trying to add required to an input element in my form. However, the form is dynamic.If I put the element manually in the page it works,but if i use the $compile it doesn't work. My Html: Save

[AngularJS] Re: Many resolvers ^RC5

2016-09-22 Thread Sander Elias
Hi, Капитан I'm not 100% sure about this, but I think you need to move the component you want a different resolver for to its own module. The alternative would be, add all resolvers to your module, and inject the one you want into your component. This asks you to pay more attention to the nami

[AngularJS] Re: Angularjs add validation to dynamic fields using $compile

2016-09-22 Thread Sander Elias
Hi, Can you build a plunk to showcase your exact problem? I'm not sure what your jQuery like code actually does. 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, sen

[AngularJS] Re: Angular 2 (Final): resetConfig to add routes to lazy loaded routes

2016-09-22 Thread Sander Elias
Hi Andrea, Do you have a sample project for this, so I can give it a spin? I have read into this, and as far as I can tell, you should be able to do a resetConfig in your module. I'm not sure though of that resets the module's router or the complete router. A simple way is to examine and adjust

[AngularJS] Re: Localized URLs, Named Routes

2016-09-22 Thread Sander Elias
Hi Juan, There are different way's this can be done. Simplest way is just add all the names to the route-config. The downside of this is that your config will get large, and maintainability will go down. However, you are able to read the routers config, amend and reset it, that's also an option