* fix for angular 1.2