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

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -