jquery - How to use HTML property "readyState" going to angularjs Controller -
hello guys basic question. want evalute objects status using readystate property seems theres problem on codes below
html code:
<object id="mypdf" type="aplication/pdf" data="{{xample.pdf}}"></div>
controller code:
var x = angular.element(document.getelementbyid('mypdf'); var status = x.readystate; console.debug(status);
but consolde.debug returns "undifined" status. seems wrong? thank you
Comments
Post a Comment