#642 - Implemented the Restangular framework for the Templates editor; but still need to handle error message.

Renamed the job variable to service.