[spring] separate angular from rest module