fixed incompatibility with ng 1.3.0 final