copying front-end from AngularTutorial, add domains and controller, override some JSON parsing because not coincide names of domains and JSON data