Re: [AngularJS] Re: Hiding Configuration File from User

2019-07-24 Thread Sumit Bhardwaj
Ok, thanks Marv. Best Sumit On Thu, Jul 18, 2019 at 10:02 PM Marvin Cook wrote: > Encrypt the important information in the file. Store the key on the > server, Make key access part of the authorization process. > > Marv > > On Thursday, July 18, 2019 at 12:44:30 AM UTC-4, Sumit Bhardwaj

[AngularJS] Modify a components template prior to compilation in Angular 8

2019-07-24 Thread Damo
Hi, I have been trying various ways to reorder, hide or add/remove extra validation of form fields dynamically based on a configuration json. Use Case: Customer has specific business rules that must be applied to a screen dynamically When I try to do this in Angular 8 the only way I have

Re: [AngularJS] Re: multiple pipes and does not work

2019-07-24 Thread Sander Elias
Hi Dev, Your search pipe expects an object with at least the property name in each row, and your sort expects an array that contains only strings. Make sure you have those in sync. I changed them a bit, so they now accept a property's name: @Pipe({name: "sort"}) export class ArraySortPipe

Re: [AngularJS] Re: multiple pipes and does not work

2019-07-24 Thread Dev C
Hello Sander, below is the code for sort pipe. import {Pipe, PipeTransform} from '@angular/core' @Pipe({ name: "sort" }) export class ArraySortPipe implements PipeTransform { transform(array: Array, args: string): Array { array.sort((a: any, b: any) => { console.log("22") if (a < b) {

[AngularJS] Re: Angular 1.5.8 Directive for Bootstrap 4 Accordion

2019-07-24 Thread howard taylor
Last Updated {{ record.*UpdatedDtTm* }} ... more rows, 1 row for each field This guy here thinks the html for the table can be defined

[AngularJS] Re: multiple pipes and does not work

2019-07-24 Thread Sander Elias
Hi dev, Can you put a sample on stackblitz?Iit's hard to help you without seeing your code. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it,

Re: [AngularJS] Re: multiple pipes and does not work

2019-07-24 Thread Dev C
angular 6 On Wed, Jul 24, 2019 at 11:06 PM Tito wrote: > is this for AngularJS or angular ? > > On Wednesday, July 24, 2019 at 10:19:07 AM UTC-7, Dev C wrote: >> >> >> >> I have above .html file where in sort array does not work, I mean I put >> console.log in it but it never prints nor

[AngularJS] Re: multiple pipes and does not work

2019-07-24 Thread Tito
is this for AngularJS or angular ? On Wednesday, July 24, 2019 at 10:19:07 AM UTC-7, Dev C wrote: > > > > I have above .html file where in sort array does not work, I mean I put > console.log in it but it never prints nor it sorts. > > Thanks > > -- You received this message because you

[AngularJS] Re: Angular 1.5.8 Directive for Bootstrap 4 Accordion

2019-07-24 Thread Tito
hey Howard. Can you post your code somewhere out there like plunkr ? I have been able to do this if I understand your question. On Wednesday, July 24, 2019 at 9:56:01 AM UTC-7, howard taylor wrote: > > Angular includes a javascript library for a Grid Directive (ui-grid.js) > and it is a time

[AngularJS] multiple pipes and does not work

2019-07-24 Thread Dev C
I have above .html file where in sort array does not work, I mean I put console.log in it but it never prints nor it sorts. Thanks -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and

[AngularJS] Re: How to pass data from a child component to app-root component.

2019-07-24 Thread Sander Elias
Hi Rajashree, Use @Output on your child, and use a method in your app-component to pick up this change. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving

[AngularJS] Angular 1.5.8 Directive for Bootstrap 4 Accordion

2019-07-24 Thread howard taylor
Angular includes a javascript library for a Grid Directive (ui-grid.js) and it is a time saver but there isn’t one for an Accordion that contains a table. I see examples in various places where people “claim” their code is a Directive but their code is just a Bootstrap Accordion with a table

[AngularJS] How to pass data from a child component to app-root component.

2019-07-24 Thread Rajashree Behera
Requirement: I need to get a data/flag status from child component to app component. This flag value changes if some operation is done, accordingly the changed flag value must be passed to app.component without page load. I am trying to pass data from child component to app-root component.