configured resourceAssignment for angular 1.2.12