Exporting Tosca from UI
Change-Id: Ie7e58ac5bd51a56d028daa1c1e2577e7723a8297
diff --git a/views/ngXosLib/xosHelpers/src/services/rest/Networkstemplates.js b/views/ngXosLib/xosHelpers/src/services/rest/Networkstemplates.js
new file mode 100644
index 0000000..961d5d8
--- /dev/null
+++ b/views/ngXosLib/xosHelpers/src/services/rest/Networkstemplates.js
@@ -0,0 +1,15 @@
+(function() {
+ 'use strict';
+
+ angular.module('xos.helpers')
+ /**
+ * @ngdoc service
+ * @name xos.helpers.Networkstemplates
+ * @description Angular resource to fetch /api/core/networktemplates/:id/
+ **/
+ .service('Networkstemplates', function($resource){
+ return $resource('/api/core/networktemplates/:id/', { id: '@id' }, {
+ update: { method: 'PUT' }
+ });
+ })
+})();