Updated to ng1.3