fix for angular service error