Added hotfix to support compliance with new ~1.3.0 angular version.