- migrated some of the initialization from attached to domReady
callback (race condition on firefox)
- refactored code and added some fixes for angularDimensionsHelper