ngPageList: Added check to prevent null length in function npglSetAsyncDataCallback.