Hotfixed app.js; request was undefined before $http request was accessed.