driftyco/ionic — pull request #2229 by chaffeqa (2014-09-16 23:04:07+00:00)
Title: Correctly handle DOM Ready states

Previously, if the script was loaded while in `document.readyState` of `interactive`, the `domReady` function is never called.

See https://developer.mozilla.org/en-US/docs/Web/API/document.readyState for explanation of the proper detection of `DOMContentLoaded`