I am trying to call a Function in ng-init i my html file. That function makes a API call and gives the data. I assigned that data to a scope variable and pass that scope variable to directive.I am trying to call a Function in ng-init i my
I am trying to call a Function in ng-init i my html file. That function makes a API call and gives the data. I assigned that data to a scope variable and pass that scope variable to directive.I am trying to call a Function in ng-init i my