Create app.js

simple js code for angular app