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