#249 Rest api

prepare angularjs moduels