docs($rootScope): rearrange event listener docs
docs($resource): fix bad indentation producing a code block