creating application.js (uses router.js ) and add it to index.html