Angular, HTML5 Against a REST API, Object Oriented Programming