changes for angular1.3.0