AngularJS: Problem with Pass parameter to angular js function using brackets
Some time we need to pass parameter to angular js function with brackets. But it doesn't work while passing value to the function like
ng-click="getdeatilsWebOnfly({{value}},{{id}})"but it will not work at run time. We need to pass the parameter value to angular js function with angulas js event without brackets at run time angular js consider parameter value like as
ng-click="getdeatilsWebOnfly(value,id)"When we are using angular js event like ng-* events then need not use bracket "{{ value }}" for assigning parameter value.
Html View
Tricks Always Work
Comments
Post a Comment