#249 Rest api

Another try with angular js