[AngularJS] Re: Angular's compatibility/integration with other full-scope framework

2016-12-11 Thread Jasmine Yuan
Thank you Sander for your quick response. I just want to get an opinion from you if i can do this for production: just use quickstart +production capability (mainly AOT+treeshaking)? from my little research online, looks like i can just use quickstart to build my website for production accordi

[AngularJS] Re: Add or update current URL parameter using angular's $location

2016-12-11 Thread Christy
Hi Sander, Thanks for your response. I need parameters because there is a filter on my page and the filtering options need to read the parameters and also be able to update/add parameters whether they exist or not. Are you aware of any resource for a js (non-angular) update parameter URL functi

[AngularJS] Re: Unique email custom validation in FormGroup

2016-12-11 Thread Sander Elias
Hi, You need to bind 'this' in this case. replace: email: [null,[Validators.required,Validators.pattern( '^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$'),this.isUniqueEmail]],. with email: [null,[Validators.required,Validators.pattern( '^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$'),this.is

[AngularJS] Re: Angular's compatibility/integration with other full-scope framework

2016-12-11 Thread Sander Elias
Hi Jasmine, When you use angular-cli all of this is taken care of. Building for production is just adding a cmd-line switch. It will build you a project that conforms the style guide. Regards Sander -- You received this message because you are subscr

[AngularJS] Re: Add or update current URL parameter using angular's $location

2016-12-11 Thread Sander Elias
Hi Christy, Given your response, I did a more thorough reread of your first question. This is indeed a common use case, and it is supported out of the box. You just need to set the html5 mode of your application. See this documentation page for more

[AngularJS] canDeactivate changes the url even on returning false.

2016-12-11 Thread Amal Gupta
I am facing an issue with canDeactivate on clicking browser back. Following are the steps to describe and replicate the actual problem: 1. VIEW_1 -- navigate to --> VIEW_2 2. VIEW_2 -- navigate to --> VIEW_3 3. (backButton) --> return false --> stay on VIEW_3 4. (backButton) --> return true -->

[AngularJS] Re: Seed project for Angular2 lib development

2016-12-11 Thread Martin Kuhn
I looked at this already. This is very basic. Am Donnerstag, 1. Dezember 2016 19:00:51 UTC+1 schrieb John Brecht: > > Have you looked at this: > https://github.com/jvandemo/generator-angular2-library > > >>> -- You received this message because you are subscribed to the Google Groups "Angular"