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

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -