Adding scripts, modifying dependency to be for angular rather than q.