Hi,

on load of HTML page I call a function which is in angularjs controller (
discussions()), which assigns value to a variable ($rootScope.name), later
I will click a button on the same HTML page, this triggers a series of
JavaScript functions and final one JS function calls same angularjs
function by using this command
angular.element(document.getElementById('loadDiscussions')).scope().discussions();


Though this funtion will be called but im not seeing any value on UI. I
think the scope of that variable is missing or something.

Note: On page load i see the value on UI but on clicking the button im not
seeing any value.

Please help me??


Thanks,
Vivek

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to