cleaned up some angular nonsense with requirejs