Angular v1.x hacked to lazy load code