angular resource and nguplaod script src