Update controller.js

alert resource Timeout