Test angular and split its files to app.js, factories.js, and controllers.js