I am using angularJS and the $route service to load a partial view file like so.
<ng-view onload="onViewLoad()">
</ng-view>
works fine.
My Problem is trying to call a jQuery function on an html element that is returned specifically trying to call the jQuery bigtext() function on a header class from the partial file. I have tried
$scope.onViewLoad = function(data){
$(.bigTitle).bigtext({
maxfontsize: 40 // default is 528 (in px)
};
});
and many similar things, but my problem is that I can not figure out how to select an element by class or id from the partial view. Can anyone tell me or lead me in the right direction to what the reason I can not access elements from the partial view. If a more robust sample of any of the code will help let me know. thanks