diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/_Definitions/CSharp.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/_Definitions/CSharp.vstemplate similarity index 86% rename from TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/_Definitions/CSharp.vstemplate rename to TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/_Definitions/CSharp.vstemplate index ef43c51d..e8b9a01d 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/_Definitions/CSharp.vstemplate +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/_Definitions/CSharp.vstemplate @@ -1,8 +1,8 @@ controller.js - AngularJs Controller using 'Controller as' - AngularJs Controller: minification ready, starter dependencies, using 'Controller As' syntax. By John Papa, http://johnpapa.net + AngularJs Controller + AngularJs Controller: minification ready, starter dependencies, using 'Controller As' syntax. By John Papa, http://johnpapa.net CSharp icon.png 1 diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/_Definitions/VB.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/_Definitions/VB.vstemplate similarity index 86% rename from TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/_Definitions/VB.vstemplate rename to TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/_Definitions/VB.vstemplate index 277eee52..6ab9111f 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/_Definitions/VB.vstemplate +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/_Definitions/VB.vstemplate @@ -1,8 +1,8 @@ controller.js - AngularJs Controller using 'Controller as' - AngularJs Controller: minification ready, starter dependencies, using 'Controller As' syntax. By John Papa, http://johnpapa.net + AngularJs Controller + AngularJs Controller: minification ready, starter dependencies, using 'Controller As' syntax. By John Papa, http://johnpapa.net VisualBasic icon.png 1 diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/_Definitions/Web.csharp.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/_Definitions/Web.csharp.vstemplate similarity index 87% rename from TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/_Definitions/Web.csharp.vstemplate rename to TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/_Definitions/Web.csharp.vstemplate index 0f3a5cf3..ae4f3d72 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/_Definitions/Web.csharp.vstemplate +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/_Definitions/Web.csharp.vstemplate @@ -1,8 +1,8 @@ controller.js - AngularJs Controller using 'Controller as' - AngularJs Controller: minification ready, starter dependencies, using 'Controller As' syntax. By John Papa, http://johnpapa.net + AngularJs Controller + AngularJs Controller: minification ready, starter dependencies, using 'Controller As' syntax. By John Papa, http://johnpapa.net Web CSharp icon.png diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/controller.js b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/controller.js similarity index 100% rename from TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/controller.js rename to TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/controller.js diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/icon.png b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/icon.png similarity index 100% rename from TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller/icon.png rename to TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller As/icon.png diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller using $scope/_Definitions/CSharp.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller using $scope/_Definitions/CSharp.vstemplate index ceb87854..654f8fa7 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller using $scope/_Definitions/CSharp.vstemplate +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller using $scope/_Definitions/CSharp.vstemplate @@ -2,7 +2,7 @@ controller.js AngularJs Controller using $scope - AngularJs Controller $scope: minification ready, starter dependencies, using 'Classic' $scope syntax. By John Papa, http://johnpapa.net + AngularJs Controller $scope: minification ready, starter dependencies, using 'Classic' $scope syntax. By John Papa, http://johnpapa.net CSharp icon.png 1 diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller using $scope/_Definitions/VB.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller using $scope/_Definitions/VB.vstemplate index ac29bd05..7147255d 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller using $scope/_Definitions/VB.vstemplate +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller using $scope/_Definitions/VB.vstemplate @@ -2,7 +2,7 @@ controller.js AngularJs Controller using $scope - AngularJs Controller $scope: minification ready, starter dependencies, using 'Classic' $scope syntax. By John Papa, http://johnpapa.net + AngularJs Controller $scope: minification ready, starter dependencies, using 'Classic' $scope syntax. By John Papa, http://johnpapa.net VisualBasic icon.png 1 diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller using $scope/_Definitions/Web.csharp.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller using $scope/_Definitions/Web.csharp.vstemplate index 8bd3396d..25c03048 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller using $scope/_Definitions/Web.csharp.vstemplate +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Controller using $scope/_Definitions/Web.csharp.vstemplate @@ -2,7 +2,7 @@ controller.js AngularJs Controller using $scope - AngularJs Controller $scope: minification ready, starter dependencies, using 'Classic' $scope syntax. By John Papa, http://johnpapa.net + AngularJs Controller $scope: minification ready, starter dependencies, using 'Classic' $scope syntax. By John Papa, http://johnpapa.net Web CSharp icon.png diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/_Definitions/CSharp.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/_Definitions/CSharp.vstemplate index 9e3aabed..85c1d584 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/_Definitions/CSharp.vstemplate +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/_Definitions/CSharp.vstemplate @@ -2,7 +2,7 @@ directive.js AngularJs Directive - AngularJs Directive: minification ready and starter dependencies. By John Papa, http://johnpapa.net + AngularJs Directive: minification ready and starter dependencies. By John Papa, http://johnpapa.net CSharp icon.png 1 diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/_Definitions/VB.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/_Definitions/VB.vstemplate index 8bd43d0f..af8afd9f 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/_Definitions/VB.vstemplate +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/_Definitions/VB.vstemplate @@ -2,7 +2,7 @@ directive.js AngularJs Directive - AngularJs Directive: minification ready and starter dependencies. By John Papa, http://johnpapa.net + AngularJs Directive: minification ready and starter dependencies. By John Papa, http://johnpapa.net VisualBasic icon.png 1 diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/_Definitions/Web.csharp.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/_Definitions/Web.csharp.vstemplate index d23593d7..1f5dfcb0 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/_Definitions/Web.csharp.vstemplate +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/_Definitions/Web.csharp.vstemplate @@ -2,7 +2,7 @@ directive.js AngularJs Directive - AngularJs Directive: minification ready and starter dependencies. By John Papa, http://johnpapa.net + AngularJs Directive: minification ready and starter dependencies. By John Papa, http://johnpapa.net Web CSharp icon.png diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/directive.js b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/directive.js index cb9b9594..a94f6cfb 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/directive.js +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Directive/directive.js @@ -9,7 +9,7 @@ function $safeitemname$ ($window) { // Usage: - // + // <$safeitemname$> // Creates: // var directive = { diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Factory/_Definitions/CSharp.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Factory/_Definitions/CSharp.vstemplate index 3d5d0035..1517f71e 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Factory/_Definitions/CSharp.vstemplate +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Factory/_Definitions/CSharp.vstemplate @@ -2,7 +2,7 @@ factory.js AngularJs Factory - AngularJs Factory: minification ready with starter dependencies. By John Papa, http://johnpapa.net + AngularJs Factory: minification ready with starter dependencies. By John Papa, http://johnpapa.net CSharp icon.png 1 diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Factory/_Definitions/VB.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Factory/_Definitions/VB.vstemplate index 98f851e5..9ccc291b 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Factory/_Definitions/VB.vstemplate +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Factory/_Definitions/VB.vstemplate @@ -2,7 +2,7 @@ factory.js AngularJs Factory - AngularJs Factory: minification ready with starter dependencies. By John Papa, http://johnpapa.net + AngularJs Factory: minification ready with starter dependencies. By John Papa, http://johnpapa.net VisualBasic icon.png 1 diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Factory/_Definitions/Web.csharp.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Factory/_Definitions/Web.csharp.vstemplate index 5d516d00..32a21e41 100644 --- a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Factory/_Definitions/Web.csharp.vstemplate +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Factory/_Definitions/Web.csharp.vstemplate @@ -2,7 +2,7 @@ factory.js AngularJs Factory - AngularJs Factory: minification ready with starter dependencies. By John Papa, http://johnpapa.net + AngularJs Factory: minification ready with starter dependencies. By John Papa, http://johnpapa.net Web CSharp icon.png diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/_Definitions/CSharp.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/_Definitions/CSharp.vstemplate new file mode 100644 index 00000000..2e7fd684 --- /dev/null +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/_Definitions/CSharp.vstemplate @@ -0,0 +1,14 @@ + + + service.js + AngularJs Service + AngularJs Service: minification ready with starter dependencies. By John Papa, http://johnpapa.net + CSharp + icon.png + 1 + + + + service.js + + \ No newline at end of file diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/_Definitions/VB.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/_Definitions/VB.vstemplate new file mode 100644 index 00000000..b04b0824 --- /dev/null +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/_Definitions/VB.vstemplate @@ -0,0 +1,14 @@ + + + service.js + AngularJs Service + AngularJs Service: minification ready with starter dependencies. By John Papa, http://johnpapa.net + VisualBasic + icon.png + 1 + + + + service.js + + \ No newline at end of file diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/_Definitions/Web.csharp.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/_Definitions/Web.csharp.vstemplate new file mode 100644 index 00000000..846388b3 --- /dev/null +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/_Definitions/Web.csharp.vstemplate @@ -0,0 +1,15 @@ + + + service.js + AngularJs Service + AngularJs Service: minification ready with starter dependencies. By John Papa, http://johnpapa.net + Web + CSharp + icon.png + 1 + + + + service.js + + \ No newline at end of file diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/icon.png b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/icon.png new file mode 100644 index 00000000..008e5f25 Binary files /dev/null and b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/icon.png differ diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/service.js b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/service.js new file mode 100644 index 00000000..630fdb04 --- /dev/null +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/service.js @@ -0,0 +1,15 @@ +(function () { + 'use strict'; + + angular + .module('app') + .service('$safeitemname$', $safeitemname$); + + $safeitemname$.$inject = ['$http']; + + function $safeitemname$($http) { + this.getData = getData; + + function getData() { } + } +})(); \ No newline at end of file diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/_Definitions/CSharp.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/_Definitions/CSharp.vstemplate new file mode 100644 index 00000000..aedbae3a --- /dev/null +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/_Definitions/CSharp.vstemplate @@ -0,0 +1,14 @@ + + + spec.js + AngularJs Test Spec + AngularJs Test Spec. By John Papa, http://johnpapa.net + CSharp + icon.png + 1 + + + + spec.js + + \ No newline at end of file diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/_Definitions/VB.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/_Definitions/VB.vstemplate new file mode 100644 index 00000000..23ff1b81 --- /dev/null +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/_Definitions/VB.vstemplate @@ -0,0 +1,14 @@ + + + spec.js + AngularJs Test Spec + AngularJs Test Spec. By John Papa, http://johnpapa.net + VisualBasic + icon.png + 1 + + + + spec.js + + \ No newline at end of file diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/_Definitions/Web.csharp.vstemplate b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/_Definitions/Web.csharp.vstemplate new file mode 100644 index 00000000..f0160edc --- /dev/null +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/_Definitions/Web.csharp.vstemplate @@ -0,0 +1,15 @@ + + + spec.js + AngularJs Test Spec + AngularJs Test Spec. By John Papa, http://johnpapa.net + Web + CSharp + icon.png + 1 + + + + spec.js + + \ No newline at end of file diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/icon.png b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/icon.png new file mode 100644 index 00000000..008e5f25 Binary files /dev/null and b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/icon.png differ diff --git a/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/spec.js b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/spec.js new file mode 100644 index 00000000..47d8a1f1 --- /dev/null +++ b/TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/spec.js @@ -0,0 +1,18 @@ +describe('$safeitemname$', function () { + var $controller, + $httpBackend, + $rootScope; + + beforeEach(function () { + module('app'); + inject(function (_$controller_, _$httpBackend_, _$rootScope_) { + $controller = _$controller_; + $httpBackend = _$httpBackend_; + $rootScope = _$rootScope_; + }); + }); + + it('should exist', function () { + //TODO: expectation goes here + }); +}); diff --git a/TemplatePack/TemplatePack.csproj b/TemplatePack/TemplatePack.csproj index ef38e313..ef6f7b88 100644 --- a/TemplatePack/TemplatePack.csproj +++ b/TemplatePack/TemplatePack.csproj @@ -80,6 +80,16 @@ + + + + + + + + + + @@ -544,11 +554,11 @@ - - - - - + + + + + diff --git a/TemplatePack/template-report.xml b/TemplatePack/template-report.xml index 51432f01..6e66f822 100644 --- a/TemplatePack/template-report.xml +++ b/TemplatePack/template-report.xml @@ -4,11 +4,13 @@ - - - - + + + + + + @@ -51,7 +53,7 @@ - + @@ -79,11 +81,13 @@ - - - - + + + + + + @@ -130,11 +134,13 @@ - - - - + + + + + +