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

c# SetCompatibleTextRenderingDefault must be called before the first -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -

c++ - Fill runtime data at compile time with templates -