Refactored ngrequire.js: instead of {} ngrequire is now the main function; other functions are properties of ngrequire() function