Simple example of angular.js with app.js, controller.js and service.js seperated and all working together for code structure. Very basic no web service call just simple flow from controller-to-service and back to view.