check in 2.0 code

re-write with Spring-HATEOAS, AngularJS, Angular-HAL.