Accessing $document Properties In AngularJS