[AngularJS] Re: AngularJs: which way is better while using ng-if, is to perform the condition in the template or call a function that return true or false

2018-03-08 Thread Tito
the term MVC should help on answer that. separation of concerns controllers could be embedded in html but best practice would be to have them separated. so I would go with the first approach. On Thursday, March 8, 2018 at 12:15:20 PM UTC-8, Hameed Gamal wrote: > > > > > vs > > > >

[AngularJS] Re: How to get back to the path in the shell after command

2018-03-08 Thread Frank Mehlhop
Hi Sander, but even when I close the browser, the shell is not coming back?! Frank Am Samstag, 3. März 2018 06:27:30 UTC+1 schrieb Sander Elias: > > Hi Frank, > > You don't. Your command is starting the server, and is monitoring your > code, and will update your browser when you make changes.

[AngularJS] AngularJs: which way is better while using ng-if, is to perform the condition in the template or call a function that return true or false

2018-03-08 Thread Hameed Gamal
vs $ctrt.hasItems = (itmesList) => { return items.length > 0 }; which way is better, doing the evaluation in javascript or in the HTML template? -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To

[AngularJS] Unit test for a custom validator and AbstractControl value

2018-03-08 Thread louis745
Hello everyone, I try to unit test this validator and I wonder to to give a value to the AbstractControl. Thanks for your precious help. My validator export class VerifierNombresValidator { static plage(min: number, max: number): ValidatorFn { return (c: AbstractControl): {

[AngularJS] cmd zurück zur Eingabe

2018-03-08 Thread Frank Mehlhop
Hallo, wenn ich im mit cli im cmd einen Befehl wie zBsp.ng serve --open ausführe, dann bleibt die Shell so stehen, dass ich nichts weiter eingeben kann. D.h. es wird nicht am Ende der aktuelle Pfad und mein Cursor angezeigt. Wie komme ich zurück zur Eingabe-Option ohne die Shell neu zu starten?

[AngularJS] Re: Working Angularfire2 with Anglular 5, Typescript, Firebase Plunker Template?

2018-03-08 Thread David Edelstein
Got this working on stackblitz. I opened an issue on github stackblitz/core and it was responded to almost immediately. I was missing a few additional dependencies and now it works! Thank you! -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS