ng-gapi-loader modularization