Create controller.js

First Commit