[AngularJS] Re: Updating View after the http service call

2017-03-13 Thread Sander Elias
Hi Celerity, You better use an expression context for the readonly attribute. This is explained in the template syntax docs Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and

[AngularJS] Re: Load data on demand in angular uiTreeGrid

2017-03-13 Thread Sander Elias
Hi DS, Probably yes. But you have to handle the loading of the data. 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, send an email to angular

[AngularJS] Updating View after the http service call

2017-03-13 Thread celerity12
Hi I am trying to update the view after the http service call in the component. Disabling some controls, update some text fields, ... *Component* > constructor(public _PostService: PostService, public >> _userPermissionService: UserPermissionService, public _narBLService: >> NARBLService,

[AngularJS] Load data on demand in angular uiTreeGrid

2017-03-13 Thread DS ARCHANA
I want to load data on demand by calling a service on click of expand icon in UI Tree Grid (instead of loading data beforehand). Does UI Tree Grid support that? -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe

[AngularJS] Error

2017-03-13 Thread Yhoshua Alejandro Ochoa Solis
How can I solve this error? pascalprecht.translate.$translateSanitization: No sanitization strategy has been configured. This can have serious security implications. See http://angular-translate.github.io/docs/#/guide/19_security for details." -- *AVISO DE CONFIDENCIALIDAD * Este correo elec

[AngularJS] create nested drop down list based on parent selection

2017-03-13 Thread sivaparlapalle
I have an issue for creating nested drop down controls at UI should be run time. Sample JSON data provided below. should be multiple levels up to 10. JSON [{ "name" : "Device", "category" : "", "content" : ["Desktop", "Mobile"]},{ "name" : "OS", "category" : "Desktop",

[AngularJS] Re: sum task time only for choosed date or user.

2017-03-13 Thread Roma
It seems that I am doing something wrong https://jsfiddle.net/defuseer/mrp3qxgq/68/ On Monday, March 13, 2017 at 5:32:06 PM UTC+1, Sander Elias wrote: > > you should be able to loop over the resulting model, and do some summing. > > something like: > > let summedTime = $scope.data.model.reduce((c

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-13 Thread Sander Elias
Hi Martin, Here is your plunk, but then in working condition . However, this is only a partial solution, as this stops working when enableProdMode() is turned on. Sorry, I didn't have had the time yet to sort this out. (Organising ng-nl

[AngularJS] Re: sum task time only for choosed date or user.

2017-03-13 Thread Sander Elias
you should be able to loop over the resulting model, and do some summing. something like: let summedTime = $scope.data.model.reduce((c,p) => c+=p.task_time, 0) Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.

[AngularJS] Re: sum task time only for choosed date or user.

2017-03-13 Thread Roma
Now my sum function doesn't work On Monday, March 13, 2017 at 10:43:11 AM UTC+1, Sander Elias wrote: > > Hi Roma, > > Some things are better done in the controller, I updated the fiddle just > enough so you should be able to pick up from here. > > > Filtering

[AngularJS] Re: AngularJS - Directives - Dynamic Templates based on JSON data

2017-03-13 Thread Sander Elias
Hi Andrew, There are solutions to this, but I think the simplest to realise option, is doing it server side. Use a server side function/procedure to generate the template, and then use that template in your angular part. (I would extend the rest protocol with a template cmd, but that might be a

[AngularJS] AngularJS - Directives - Dynamic Templates based on JSON data

2017-03-13 Thread Andrew Gadzik
Hello! Been working on a large scale, enterprise application over the last two years where we have built a custom component library that dynamically builds angular forms from a REST API response/ JSON data. We are noticing that render time performance with these components is not the greatest

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-13 Thread Martin Kuhn
Anything new on this topic? TIA Am Samstag, 11. März 2017 11:12:19 UTC+1 schrieb Sander Elias: > > Oh, it is possible, when I'm back in my office I will finish up a > directive that takes care off this. -- You received this message because you are subscribed to the Google Groups "Angular and A

[AngularJS] How do do an sql query

2017-03-13 Thread David Villasmil
Hello all, I'm very new to angular. There's a file that contains just a variable (https://github.com/sipcapture/homer-ui/blob/master/js/widgets/datasource.js) and i want to add to an option list, specifically https://github.com/davidcsi/homer-ui/blob/component-asr/js/widgets/datasource.js#L286

[AngularJS] Re: sum task time only for choosed date or user.

2017-03-13 Thread Sander Elias
Hi Roma, Some things are better done in the controller, I updated the fiddle just enough so you should be able to pick up from here. Filtering like you are doing, is better done in the controller, using some ES5. this.update= function () { $