-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
166 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/_Definitions/CSharp.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Item"> | ||
<TemplateData> | ||
<DefaultName>service.js</DefaultName> | ||
<Name>AngularJs Service</Name> | ||
<Description>AngularJs Service: minification ready with starter dependencies. By John Papa, http://twitter.com/john_papa</Description> | ||
<ProjectType>CSharp</ProjectType> | ||
<Icon>icon.png</Icon> | ||
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp> | ||
</TemplateData> | ||
<TemplateContent> | ||
<References /> | ||
<ProjectItem ReplaceParameters="true">service.js</ProjectItem> | ||
</TemplateContent> | ||
</VSTemplate> |
14 changes: 14 additions & 0 deletions
14
TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/_Definitions/VB.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Item"> | ||
<TemplateData> | ||
<DefaultName>service.js</DefaultName> | ||
<Name>AngularJs Service</Name> | ||
<Description>AngularJs Service: minification ready with starter dependencies. By John Papa, http://twitter.com/john_papa</Description> | ||
<ProjectType>VisualBasic</ProjectType> | ||
<Icon>icon.png</Icon> | ||
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp> | ||
</TemplateData> | ||
<TemplateContent> | ||
<References /> | ||
<ProjectItem ReplaceParameters="true">service.js</ProjectItem> | ||
</TemplateContent> | ||
</VSTemplate> |
15 changes: 15 additions & 0 deletions
15
...atePack/ItemTemplates/Web/JavaScript/AngularJs/Service/_Definitions/Web.csharp.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Item"> | ||
<TemplateData> | ||
<DefaultName>service.js</DefaultName> | ||
<Name>AngularJs Service</Name> | ||
<Description>AngularJs Service: minification ready with starter dependencies. By John Papa, http://twitter.com/john_papa</Description> | ||
<ProjectType>Web</ProjectType> | ||
<ProjectSubType>CSharp</ProjectSubType> | ||
<Icon>icon.png</Icon> | ||
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp> | ||
</TemplateData> | ||
<TemplateContent> | ||
<References /> | ||
<ProjectItem ReplaceParameters="true">service.js</ProjectItem> | ||
</TemplateContent> | ||
</VSTemplate> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions
15
TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Service/service.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
(function () { | ||
'use strict'; | ||
|
||
angular | ||
.module('app') | ||
.service('$safeitemname$', $safeitemname$); | ||
|
||
$safeitemname$.$inject = ['$http']; | ||
|
||
function $safeitemname$($http) { | ||
this.getData = getData; | ||
|
||
function getData() { } | ||
} | ||
})(); |
14 changes: 14 additions & 0 deletions
14
TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/_Definitions/CSharp.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Item"> | ||
<TemplateData> | ||
<DefaultName>spec.js</DefaultName> | ||
<Name>AngularJs Test Spec</Name> | ||
<Description>AngularJs Test Spec. By John Papa, http://twitter.com/john_papa </Description> | ||
<ProjectType>CSharp</ProjectType> | ||
<Icon>icon.png</Icon> | ||
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp> | ||
</TemplateData> | ||
<TemplateContent> | ||
<References /> | ||
<ProjectItem ReplaceParameters="true">spec.js</ProjectItem> | ||
</TemplateContent> | ||
</VSTemplate> |
14 changes: 14 additions & 0 deletions
14
TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/_Definitions/VB.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Item"> | ||
<TemplateData> | ||
<DefaultName>spec.js</DefaultName> | ||
<Name>AngularJs Test Spec</Name> | ||
<Description>AngularJs Test Spec. By John Papa, http://twitter.com/john_papa</Description> | ||
<ProjectType>VisualBasic</ProjectType> | ||
<Icon>icon.png</Icon> | ||
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp> | ||
</TemplateData> | ||
<TemplateContent> | ||
<References /> | ||
<ProjectItem ReplaceParameters="true">spec.js</ProjectItem> | ||
</TemplateContent> | ||
</VSTemplate> |
15 changes: 15 additions & 0 deletions
15
TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/_Definitions/Web.csharp.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Item"> | ||
<TemplateData> | ||
<DefaultName>spec.js</DefaultName> | ||
<Name>AngularJs Test Spec</Name> | ||
<Description>AngularJs Test Spec. By John Papa, http://twitter.com/john_papa</Description> | ||
<ProjectType>Web</ProjectType> | ||
<ProjectSubType>CSharp</ProjectSubType> | ||
<Icon>icon.png</Icon> | ||
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp> | ||
</TemplateData> | ||
<TemplateContent> | ||
<References /> | ||
<ProjectItem ReplaceParameters="true">spec.js</ProjectItem> | ||
</TemplateContent> | ||
</VSTemplate> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions
18
TemplatePack/ItemTemplates/Web/JavaScript/AngularJs/Test/spec.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
@johnpapa is the comment style here or at https://github.com/johnpapa/angular-styleguide#directives better? If https://github.com/johnpapa/angular-styleguide#directives is better I'll submit a PR to change this file.