AngularJS model not updating inside javascript array -
I have a simple issue with AngularJS: properties outside the usual array of updates, but the array elements (those is bound to properties) No one Plnkr to show it:
var vm = this; Vm.topLine = {netWrittenPremiumLastFye: 1000000, Netwaritprimiam Ytd: 123000} vm.grossColumnChartData = [[ 'Previous EA', vm.topLine.net] written premium RAM), [ 'YTD', vm.topline.net] Likitpratiami Utility] ];
We can use the $ scope. $ Watch ( 'something', function (old value, new value) {...}), but in my case it is not a good choice in my choices
also appreciate any help or suggestions Thank you!
I want to take advantage of two-way binding in any way as repetitive.
I think you can do this without using the $ clock, the html binding directly to the array By updating / P>
{{Gross column chart data [[[Previous EAE, vm.topline.net] Written Premium RAM, ['YTD', vm.topline.net] Written Premium 2)]}} & Lt; Br / & gt; Gross column chart data {{gross column chart data | Json}}
Look at it:
Comments
Post a Comment