Fix ng renderer to be compatible with angular 1.3