Moved config info into app.js and out window view, created sample directive