diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/HeroesApp.xproj b/samples/features/json/angularjs/dotnet-tour-of-heroes/HeroesApp.xproj
deleted file mode 100644
index 964f28b5..00000000
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/HeroesApp.xproj
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- 14.0
- $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
-
-
-
- c8014cba-1952-414a-b78e-f60f9e5c5625
- ReactCommentsApp
- .\obj
- .\bin\
- v4.6
-
-
- 2.0
-
-
-
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/README.md b/samples/features/json/angularjs/dotnet-tour-of-heroes/README.md
index a09c884f..8faaae0e 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/README.md
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/README.md
@@ -1,6 +1,7 @@
# Angular Heroes ASP.NET Core REST Web App
-This project contains an implementation of [AngularJS Heroes sample app](https://angular.io/docs/ts/latest/tutorial/) implemented using ASP.NET Core REST API backend that use SQL/JSON functionalities. AngularJs code is modified version of johnpapa [Github sample project](https://github.com/johnpapa/angular2-tour-of-heroes).
+This project contains an implementation of [AngularJS Heroes sample app](https://angular.io/docs/ts/latest/tutorial/) implemented using ASP.NET Core REST API backend that use SQL/JSON functionalities.
+AngularJs code is modified version of johnpapa [Github sample project](https://github.com/johnpapa/angular2-tour-of-heroes).
In this example you will see how easily you can integrate Single-page apps implemented using Angular JS with SQL Server 2016 or Azure SQL Database using ASP.NET Core and JSON functions.
### Contents
@@ -30,7 +31,7 @@ To run this sample, you need the following prerequisites.
**Software prerequisites:**
1. SQL Server 2016 (or higher) or an Azure SQL Database
-2. Visual Studio 2015 Update 3 (or higher) or Visual Studio Code Editor with the ASP.NET Core 1.0 (or higher)
+2. Visual Studio 2017 or Visual Studio Code Editor with the ASP.NET Core 1.0/.Net Framework 4.6
3. .NET Core SDK for [Windows](https://go.microsoft.com/fwlink/?LinkID=827524) or other [operating systems](https://www.microsoft.com/net/core)
4. Node.js installation [Node.js](https://nodejs.org/en/download/)
@@ -67,9 +68,9 @@ If your database is hosted on Azure you can add something like:
### Build and run sample
-1. Restore NugetPackages using **dotnet restore** command. This command will create **project.lock.json** file.
+1. Restore NugetPackages using **dotnet restore** command.
2. Restore npm packages using **npm install** command lines. This command will download packages in **node_modules** folder.
-3. Build project using **dotnet build** command executed from command line (from project root folder) or using Visual Studion 2015.
+3. Build project using **dotnet build** command executed from command line (from project root folder) or using Visual Studio 2017.
4. Run the sample app using **dotnet run** executed in the command prompt of the project root folder.
Sequence of commands is:
@@ -81,7 +82,8 @@ dotnet run
```
### Run the app
-. Open /index.html Url to see heroes from database. See more details about functionalities in [AngularJS Heroes sample app](https://angular.io/docs/ts/latest/tutorial/)
+. Open /index.html Url to see heroes from database.
+See more details about functionalities in [AngularJS Heroes sample app](https://angular.io/docs/ts/latest/tutorial/)
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/appsettings.json b/samples/features/json/angularjs/dotnet-tour-of-heroes/appsettings.json
index 32ef558c..9d1e463e 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/appsettings.json
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/appsettings.json
@@ -8,6 +8,6 @@
}
},
"ConnectionStrings": {
- "HeroDb": "Server=.;Database=TourOfHeroes;Integrated Security=true"
+ "HeroDb": "Server=.\\SQLEXPRESS;Database=HeroDb;Integrated Security=true"
}
}
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/dotnet-tour-of-heroes.csproj b/samples/features/json/angularjs/dotnet-tour-of-heroes/dotnet-tour-of-heroes.csproj
new file mode 100644
index 00000000..def83e94
--- /dev/null
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/dotnet-tour-of-heroes.csproj
@@ -0,0 +1,38 @@
+
+
+
+ netcoreapp1.0;net46
+ true
+ dotnet-tour-of-heroes
+ Exe
+ dotnet-tour-of-heroes
+ 1.0.4
+
+
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/project.json b/samples/features/json/angularjs/dotnet-tour-of-heroes/project.json
deleted file mode 100644
index c6fe1b0d..00000000
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/project.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "dependencies": {
- "Belgrade.Sql.Client": "0.3.0",
- "Microsoft.AspNetCore.Mvc": "1.0.0",
- "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
- "Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
- "Microsoft.AspNetCore.StaticFiles": "1.0.0",
- "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
- "Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
- "Microsoft.Extensions.Configuration.Json": "1.0.0",
- "Microsoft.Extensions.Logging": "1.0.0",
- "Microsoft.Extensions.Logging.Console": "1.0.0",
- "Microsoft.Extensions.Logging.Debug": "1.0.0",
- "System.Data.SqlClient": "4.1.0"
- },
-
- "tools": {
- "Microsoft.AspNetCore.Server.IISIntegration.Tools": {
- "version": "1.0.0-preview1-final",
- "imports": "portable-net45+win8+dnxcore50"
- }
- },
-
- "frameworks": {
- "netcoreapp1.0": {
- "dependencies": {
- "Microsoft.NETCore.App": {
- "version": "1.0.0",
- "type": "platform"
- }
- }
- },
- "net46": {}
- },
-
- "buildOptions": {
- "emitEntryPoint": true,
- "preserveCompilationContext": true
- },
-
- "publishOptions": {
- "include": [
- "wwwroot",
- "Views",
- "appsettings.json",
- "web.config"
- ]
- },
-
- "scripts": {
- "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
- }
-}
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app-routing.module.js b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app-routing.module.js
index ae872153..1f9e6065 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app-routing.module.js
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app-routing.module.js
@@ -5,14 +5,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
-var __metadata = (this && this.__metadata) || function (k, v) {
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-var core_1 = require('@angular/core');
-var router_1 = require('@angular/router');
-var dashboard_component_1 = require('./dashboard.component');
-var heroes_component_1 = require('./heroes.component');
-var hero_detail_component_1 = require('./hero-detail.component');
+Object.defineProperty(exports, "__esModule", { value: true });
+var core_1 = require("@angular/core");
+var router_1 = require("@angular/router");
+var dashboard_component_1 = require("./dashboard.component");
+var heroes_component_1 = require("./heroes.component");
+var hero_detail_component_1 = require("./hero-detail.component");
var routes = [
{
path: '',
@@ -35,15 +33,14 @@ var routes = [
var AppRoutingModule = (function () {
function AppRoutingModule() {
}
- AppRoutingModule = __decorate([
- core_1.NgModule({
- imports: [router_1.RouterModule.forRoot(routes)],
- exports: [router_1.RouterModule]
- }),
- __metadata('design:paramtypes', [])
- ], AppRoutingModule);
return AppRoutingModule;
}());
+AppRoutingModule = __decorate([
+ core_1.NgModule({
+ imports: [router_1.RouterModule.forRoot(routes)],
+ exports: [router_1.RouterModule]
+ })
+], AppRoutingModule);
exports.AppRoutingModule = AppRoutingModule;
exports.routedComponents = [dashboard_component_1.DashboardComponent, heroes_component_1.HeroesComponent, hero_detail_component_1.HeroDetailComponent];
//# sourceMappingURL=app-routing.module.js.map
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app-routing.module.js.map b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app-routing.module.js.map
index 76ce9bf9..05554531 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app-routing.module.js.map
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app-routing.module.js.map
@@ -1 +1 @@
-{"version":3,"file":"app-routing.module.js","sourceRoot":"","sources":["app-routing.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAAyB,eAAe,CAAC,CAAA;AACzC,uBAAqC,iBAAiB,CAAC,CAAA;AAEvD,oCAAmC,uBAAuB,CAAC,CAAA;AAC3D,iCAAgC,oBAAoB,CAAC,CAAA;AACrD,sCAAoC,yBAAyB,CAAC,CAAA;AAE9D,IAAM,MAAM,GAAW;IACrB;QACE,IAAI,EAAE,EAAE;QACR,UAAU,EAAE,YAAY;QACxB,SAAS,EAAE,MAAM;KAClB;IACD;QACE,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wCAAkB;KAC9B;IACD;QACE,IAAI,EAAE,YAAY;QAClB,SAAS,EAAE,2CAAmB;KAC/B;IACD;QACE,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,kCAAe;KAC3B;CACF,CAAC;AAMF;IAAA;IAAgC,CAAC;IAJjC;QAAC,eAAQ,CAAC;YACR,OAAO,EAAE,CAAC,qBAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YACvC,OAAO,EAAE,CAAC,qBAAY,CAAC;SACxB,CAAC;;wBAAA;IAC8B,uBAAC;AAAD,CAAC,AAAjC,IAAiC;AAApB,wBAAgB,mBAAI,CAAA;AAEpB,wBAAgB,GAAG,CAAC,wCAAkB,EAAE,kCAAe,EAAE,2CAAmB,CAAC,CAAC"}
\ No newline at end of file
+{"version":3,"file":"app-routing.module.js","sourceRoot":"","sources":["app-routing.module.ts"],"names":[],"mappings":";;;;;;;;AAAA,sCAAyC;AACzC,0CAAuD;AAEvD,6DAA2D;AAC3D,uDAAqD;AACrD,iEAA8D;AAE9D,IAAM,MAAM,GAAW;IACrB;QACE,IAAI,EAAE,EAAE;QACR,UAAU,EAAE,YAAY;QACxB,SAAS,EAAE,MAAM;KAClB;IACD;QACE,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wCAAkB;KAC9B;IACD;QACE,IAAI,EAAE,YAAY;QAClB,SAAS,EAAE,2CAAmB;KAC/B;IACD;QACE,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,kCAAe;KAC3B;CACF,CAAC;AAMF,IAAa,gBAAgB;IAA7B;IAAgC,CAAC;IAAD,uBAAC;AAAD,CAAC,AAAjC,IAAiC;AAApB,gBAAgB;IAJ5B,eAAQ,CAAC;QACR,OAAO,EAAE,CAAC,qBAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACvC,OAAO,EAAE,CAAC,qBAAY,CAAC;KACxB,CAAC;GACW,gBAAgB,CAAI;AAApB,4CAAgB;AAEhB,QAAA,gBAAgB,GAAG,CAAC,wCAAkB,EAAE,kCAAe,EAAE,2CAAmB,CAAC,CAAC"}
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.component.js b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.component.js
index f02a6c0f..fa4d519a 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.component.js
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.component.js
@@ -5,24 +5,21 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
-var __metadata = (this && this.__metadata) || function (k, v) {
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-var core_1 = require('@angular/core');
+Object.defineProperty(exports, "__esModule", { value: true });
+var core_1 = require("@angular/core");
var AppComponent = (function () {
function AppComponent() {
this.title = 'Tour of Heroes';
}
- AppComponent = __decorate([
- core_1.Component({
- moduleId: module.id,
- selector: 'my-app',
- template: "\n
{{title}}
\n \n \n \n ",
- styleUrls: ['app.component.css']
- }),
- __metadata('design:paramtypes', [])
- ], AppComponent);
return AppComponent;
}());
+AppComponent = __decorate([
+ core_1.Component({
+ moduleId: module.id,
+ selector: 'my-app',
+ template: "\n {{title}}
\n \n \n \n ",
+ styleUrls: ['app.component.css']
+ })
+], AppComponent);
exports.AppComponent = AppComponent;
//# sourceMappingURL=app.component.js.map
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.component.js.map b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.component.js.map
index c6eae7cc..152694a5 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.component.js.map
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.component.js.map
@@ -1 +1 @@
-{"version":3,"file":"app.component.js","sourceRoot":"","sources":["app.component.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAA0B,eAAe,CAAC,CAAA;AAgB1C;IAAA;QACE,UAAK,GAAG,gBAAgB,CAAC;IAC3B,CAAC;IAhBD;QAAC,gBAAS,CAAC;YACT,QAAQ,EAAE,MAAM,CAAC,EAAE;YACnB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,sRAQT;YACD,SAAS,EAAE,CAAC,mBAAmB,CAAC;SACjC,CAAC;;oBAAA;IAGF,mBAAC;AAAD,CAAC,AAFD,IAEC;AAFY,oBAAY,eAExB,CAAA"}
\ No newline at end of file
+{"version":3,"file":"app.component.js","sourceRoot":"","sources":["app.component.ts"],"names":[],"mappings":";;;;;;;;AAAA,sCAA0C;AAgB1C,IAAa,YAAY;IAdzB;QAeE,UAAK,GAAG,gBAAgB,CAAC;IAC3B,CAAC;IAAD,mBAAC;AAAD,CAAC,AAFD,IAEC;AAFY,YAAY;IAdxB,gBAAS,CAAC;QACT,QAAQ,EAAE,MAAM,CAAC,EAAE;QACnB,QAAQ,EAAE,QAAQ;QAClB,QAAQ,EAAE,sRAQT;QACD,SAAS,EAAE,CAAC,mBAAmB,CAAC;KACjC,CAAC;GACW,YAAY,CAExB;AAFY,oCAAY"}
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.module.js b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.module.js
index 0e4f96c9..7213711c 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.module.js
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.module.js
@@ -5,44 +5,42 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
-var __metadata = (this && this.__metadata) || function (k, v) {
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-var core_1 = require('@angular/core');
-var platform_browser_1 = require('@angular/platform-browser');
-var forms_1 = require('@angular/forms');
-var http_1 = require('@angular/http');
+Object.defineProperty(exports, "__esModule", { value: true });
+var core_1 = require("@angular/core");
+var platform_browser_1 = require("@angular/platform-browser");
+var forms_1 = require("@angular/forms");
+var http_1 = require("@angular/http");
//import { InMemoryWebApiModule } from 'angular-in-memory-web-api';
//import { InMemoryDataService } from './in-memory-data.service';
-require('./rxjs-extensions');
-var app_component_1 = require('./app.component');
-var app_routing_module_1 = require('./app-routing.module');
-var hero_service_1 = require('./hero.service');
-var hero_search_component_1 = require('./hero-search.component');
+require("./rxjs-extensions");
+var app_component_1 = require("./app.component");
+var app_routing_module_1 = require("./app-routing.module");
+var hero_service_1 = require("./hero.service");
+var hero_search_component_1 = require("./hero-search.component");
var AppModule = (function () {
function AppModule() {
}
- AppModule = __decorate([
- core_1.NgModule({
- imports: [
- platform_browser_1.BrowserModule,
- forms_1.FormsModule,
- app_routing_module_1.AppRoutingModule,
- http_1.HttpModule //,
- ],
- declarations: [
- app_component_1.AppComponent,
- hero_search_component_1.HeroSearchComponent,
- app_routing_module_1.routedComponents
- ],
- providers: [
- hero_service_1.HeroService
- ],
- bootstrap: [app_component_1.AppComponent]
- }),
- __metadata('design:paramtypes', [])
- ], AppModule);
return AppModule;
}());
+AppModule = __decorate([
+ core_1.NgModule({
+ imports: [
+ platform_browser_1.BrowserModule,
+ forms_1.FormsModule,
+ app_routing_module_1.AppRoutingModule,
+ http_1.HttpModule //,
+ //InMemoryWebApiModule.forRoot(InMemoryDataService, { delay: 600 })
+ ],
+ declarations: [
+ app_component_1.AppComponent,
+ hero_search_component_1.HeroSearchComponent,
+ app_routing_module_1.routedComponents
+ ],
+ providers: [
+ hero_service_1.HeroService
+ ],
+ bootstrap: [app_component_1.AppComponent]
+ })
+], AppModule);
exports.AppModule = AppModule;
//# sourceMappingURL=app.module.js.map
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.module.js.map b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.module.js.map
index e7a73061..e7ec55f7 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.module.js.map
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.module.js.map
@@ -1 +1 @@
-{"version":3,"file":"app.module.js","sourceRoot":"","sources":["app.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAAyB,eAAe,CAAC,CAAA;AACzC,iCAA8B,2BAA2B,CAAC,CAAA;AAC1D,sBAA4B,gBAAgB,CAAC,CAAA;AAC7C,qBAA2B,eAAe,CAAC,CAAA;AAE3C,mEAAmE;AACnE,iEAAiE;AAEjE,QAAO,mBAAmB,CAAC,CAAA;AAC3B,8BAA6B,iBAAiB,CAAC,CAAA;AAC/C,mCAAmD,sBAAsB,CAAC,CAAA;AAC1E,6BAA4B,gBAAgB,CAAC,CAAA;AAC7C,sCAAoC,yBAAyB,CAAC,CAAA;AAoB9D;IAAA;IAAyB,CAAC;IAlB1B;QAAC,eAAQ,CAAC;YACR,OAAO,EAAE;gBACP,gCAAa;gBACb,mBAAW;gBACX,qCAAgB;gBAChB,iBAAU,CAAA,GAAG;aAEd;YACD,YAAY,EAAE;gBACZ,4BAAY;gBACZ,2CAAmB;gBACnB,qCAAgB;aACjB;YACD,SAAS,EAAE;gBACT,0BAAW;aACZ;YACD,SAAS,EAAE,CAAC,4BAAY,CAAC;SAC1B,CAAC;;iBAAA;IACuB,gBAAC;AAAD,CAAC,AAA1B,IAA0B;AAAb,iBAAS,YAAI,CAAA"}
\ No newline at end of file
+{"version":3,"file":"app.module.js","sourceRoot":"","sources":["app.module.ts"],"names":[],"mappings":";;;;;;;;AAAA,sCAAyC;AACzC,8DAA0D;AAC1D,wCAA6C;AAC7C,sCAA2C;AAE3C,mEAAmE;AACnE,iEAAiE;AAEjE,6BAA2B;AAC3B,iDAA+C;AAC/C,2DAA0E;AAC1E,+CAA6C;AAC7C,iEAA8D;AAoB9D,IAAa,SAAS;IAAtB;IAAyB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAA1B,IAA0B;AAAb,SAAS;IAlBrB,eAAQ,CAAC;QACR,OAAO,EAAE;YACP,gCAAa;YACb,mBAAW;YACX,qCAAgB;YAChB,iBAAU,CAAA,GAAG;YACb,mEAAmE;SACpE;QACD,YAAY,EAAE;YACZ,4BAAY;YACZ,2CAAmB;YACnB,qCAAgB;SACjB;QACD,SAAS,EAAE;YACT,0BAAW;SACZ;QACD,SAAS,EAAE,CAAC,4BAAY,CAAC;KAC1B,CAAC;GACW,SAAS,CAAI;AAAb,8BAAS"}
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/dashboard.component.js b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/dashboard.component.js
index 1b770e20..d98db5db 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/dashboard.component.js
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/dashboard.component.js
@@ -8,9 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
-var core_1 = require('@angular/core');
-var router_1 = require('@angular/router');
-var hero_service_1 = require('./hero.service');
+Object.defineProperty(exports, "__esModule", { value: true });
+var core_1 = require("@angular/core");
+var router_1 = require("@angular/router");
+var hero_service_1 = require("./hero.service");
var DashboardComponent = (function () {
function DashboardComponent(router, heroService) {
this.router = router;
@@ -26,16 +27,17 @@ var DashboardComponent = (function () {
var link = ['/detail', hero.id];
this.router.navigate(link);
};
- DashboardComponent = __decorate([
- core_1.Component({
- moduleId: module.id,
- selector: 'my-dashboard',
- templateUrl: 'dashboard.component.html',
- styleUrls: ['dashboard.component.css']
- }),
- __metadata('design:paramtypes', [router_1.Router, hero_service_1.HeroService])
- ], DashboardComponent);
return DashboardComponent;
}());
+DashboardComponent = __decorate([
+ core_1.Component({
+ moduleId: module.id,
+ selector: 'my-dashboard',
+ templateUrl: 'dashboard.component.html',
+ styleUrls: ['dashboard.component.css']
+ }),
+ __metadata("design:paramtypes", [router_1.Router,
+ hero_service_1.HeroService])
+], DashboardComponent);
exports.DashboardComponent = DashboardComponent;
//# sourceMappingURL=dashboard.component.js.map
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/dashboard.component.js.map b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/dashboard.component.js.map
index bf840292..91fca988 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/dashboard.component.js.map
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/dashboard.component.js.map
@@ -1 +1 @@
-{"version":3,"file":"dashboard.component.js","sourceRoot":"","sources":["dashboard.component.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAAkC,eAAe,CAAC,CAAA;AAClD,uBAAuB,iBAAiB,CAAC,CAAA;AAGzC,6BAA4B,gBAAgB,CAAC,CAAA;AAQ7C;IAGE,4BACU,MAAc,EACd,WAAwB;QADxB,WAAM,GAAN,MAAM,CAAQ;QACd,gBAAW,GAAX,WAAW,CAAa;QAJlC,WAAM,GAAW,EAAE,CAAC;IAKpB,CAAC;IAED,qCAAQ,GAAR;QAAA,iBAGC;QAFC,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE;aACzB,IAAI,CAAC,UAAA,MAAM,IAAI,OAAA,KAAI,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAhC,CAAgC,CAAC,CAAC;IACtD,CAAC;IAED,uCAAU,GAAV,UAAW,IAAU;QACnB,IAAI,IAAI,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;QAChC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAtBH;QAAC,gBAAS,CAAC;YACT,QAAQ,EAAE,MAAM,CAAC,EAAE;YACnB,QAAQ,EAAE,cAAc;YACxB,WAAW,EAAE,0BAA0B;YACvC,SAAS,EAAE,CAAC,yBAAyB,CAAC;SACvC,CAAC;;0BAAA;IAkBF,yBAAC;AAAD,CAAC,AAjBD,IAiBC;AAjBY,0BAAkB,qBAiB9B,CAAA"}
\ No newline at end of file
+{"version":3,"file":"dashboard.component.js","sourceRoot":"","sources":["dashboard.component.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAkD;AAClD,0CAAyC;AAGzC,+CAA6C;AAQ7C,IAAa,kBAAkB;IAG7B,4BACU,MAAc,EACd,WAAwB;QADxB,WAAM,GAAN,MAAM,CAAQ;QACd,gBAAW,GAAX,WAAW,CAAa;QAJlC,WAAM,GAAW,EAAE,CAAC;IAKpB,CAAC;IAED,qCAAQ,GAAR;QAAA,iBAGC;QAFC,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE;aACzB,IAAI,CAAC,UAAA,MAAM,IAAI,OAAA,KAAI,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAhC,CAAgC,CAAC,CAAC;IACtD,CAAC;IAED,uCAAU,GAAV,UAAW,IAAU;QACnB,IAAI,IAAI,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;QAChC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IACH,yBAAC;AAAD,CAAC,AAjBD,IAiBC;AAjBY,kBAAkB;IAN9B,gBAAS,CAAC;QACT,QAAQ,EAAE,MAAM,CAAC,EAAE;QACnB,QAAQ,EAAE,cAAc;QACxB,WAAW,EAAE,0BAA0B;QACvC,SAAS,EAAE,CAAC,yBAAyB,CAAC;KACvC,CAAC;qCAKkB,eAAM;QACD,0BAAW;GALvB,kBAAkB,CAiB9B;AAjBY,gDAAkB"}
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-detail.component.js b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-detail.component.js
index e0960039..376ef31a 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-detail.component.js
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-detail.component.js
@@ -8,10 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
-var core_1 = require('@angular/core');
-var router_1 = require('@angular/router');
-var hero_1 = require('./hero');
-var hero_service_1 = require('./hero.service');
+Object.defineProperty(exports, "__esModule", { value: true });
+var core_1 = require("@angular/core");
+var router_1 = require("@angular/router");
+var hero_1 = require("./hero");
+var hero_service_1 = require("./hero.service");
var HeroDetailComponent = (function () {
function HeroDetailComponent(heroService, route) {
this.heroService = heroService;
@@ -51,24 +52,25 @@ var HeroDetailComponent = (function () {
window.history.back();
}
};
- __decorate([
- core_1.Input(),
- __metadata('design:type', hero_1.Hero)
- ], HeroDetailComponent.prototype, "hero", void 0);
- __decorate([
- core_1.Output(),
- __metadata('design:type', Object)
- ], HeroDetailComponent.prototype, "close", void 0);
- HeroDetailComponent = __decorate([
- core_1.Component({
- moduleId: module.id,
- selector: 'my-hero-detail',
- templateUrl: 'hero-detail.component.html',
- styleUrls: ['hero-detail.component.css']
- }),
- __metadata('design:paramtypes', [hero_service_1.HeroService, router_1.ActivatedRoute])
- ], HeroDetailComponent);
return HeroDetailComponent;
}());
+__decorate([
+ core_1.Input(),
+ __metadata("design:type", hero_1.Hero)
+], HeroDetailComponent.prototype, "hero", void 0);
+__decorate([
+ core_1.Output(),
+ __metadata("design:type", Object)
+], HeroDetailComponent.prototype, "close", void 0);
+HeroDetailComponent = __decorate([
+ core_1.Component({
+ moduleId: module.id,
+ selector: 'my-hero-detail',
+ templateUrl: 'hero-detail.component.html',
+ styleUrls: ['hero-detail.component.css']
+ }),
+ __metadata("design:paramtypes", [hero_service_1.HeroService,
+ router_1.ActivatedRoute])
+], HeroDetailComponent);
exports.HeroDetailComponent = HeroDetailComponent;
//# sourceMappingURL=hero-detail.component.js.map
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-detail.component.js.map b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-detail.component.js.map
index 415862c9..10d775ed 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-detail.component.js.map
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-detail.component.js.map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A2B;YAC7C,KAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACpB,CAAC,CAAC;aACD,KAAK,CAAC,UAAA,KAAK,IAAI,OAAA,KAAI,CAAC,KAAK,GAAG,KAAK,EAAlB,CAAkB,CAAC,CAAC,CAAC,8BAA8B;IACzE,CAAC;IAED,oCAAM,GAAN,UAAO,SAAsB;QAAtB,yBAAsB,GAAtB,gBAAsB;QAC3B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3B,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YAAC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QAAC,CAAC;IAChD,CAAC;IArCD;QAAC,YAAK,EAAE;;qDAAA;IACR;QAAC,aAAM,EAAE;;sDAAA;IARX;QAAC,gBAAS,CAAC;YACT,QAAQ,EAAE,MAAM,CAAC,EAAE;YACnB,QAAQ,EAAE,gBAAgB;YAC1B,WAAW,EAAE,4BAA4B;YACzC,SAAS,EAAE,CAAC,2BAA2B,CAAC;SACzC,CAAC;;2BAAA;IAwCF,0BAAC;AAAD,CAAC,AAvCD,IAuCC;AAvCY,2BAAmB,sBAuC/B,CAAA"}
\ No newline at end of file
+{"version":3,"file":"hero-detail.component.js","sourceRoot":"","sources":["hero-detail.component.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAA+E;AAC/E,0CAAyD;AAEzD,+BAA8B;AAC9B,+CAA6C;AAQ7C,IAAa,mBAAmB;IAM9B,6BACU,WAAwB,EACxB,KAAqB;QADrB,gBAAW,GAAX,WAAW,CAAa;QACxB,UAAK,GAAL,KAAK,CAAgB;QANrB,UAAK,GAAG,IAAI,mBAAY,EAAE,CAAC;QAErC,cAAS,GAAG,KAAK,CAAC,CAAC,yBAAyB;IAK5C,CAAC;IAED,sCAAQ,GAAR;QAAA,iBAYC;QAXC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,UAAC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DAAC;AACV;IAAT,aAAM,EAAE;;kDAA4B;AAF1B,mBAAmB;IAN/B,gBAAS,CAAC;QACT,QAAQ,EAAE,MAAM,CAAC,EAAE;QACnB,QAAQ,EAAE,gBAAgB;QAC1B,WAAW,EAAE,4BAA4B;QACzC,SAAS,EAAE,CAAC,2BAA2B,CAAC;KACzC,CAAC;qCAQuB,0BAAW;QACjB,uBAAc;GARpB,mBAAmB,CAuC/B;AAvCY,kDAAmB"}
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.component.js b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.component.js
index 48630619..b375f6eb 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.component.js
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.component.js
@@ -8,11 +8,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
-var core_1 = require('@angular/core');
-var router_1 = require('@angular/router');
-var Observable_1 = require('rxjs/Observable');
-var Subject_1 = require('rxjs/Subject');
-var hero_search_service_1 = require('./hero-search.service');
+Object.defineProperty(exports, "__esModule", { value: true });
+var core_1 = require("@angular/core");
+var router_1 = require("@angular/router");
+var Observable_1 = require("rxjs/Observable");
+var Subject_1 = require("rxjs/Subject");
+var hero_search_service_1 = require("./hero-search.service");
var HeroSearchComponent = (function () {
function HeroSearchComponent(heroSearchService, router) {
this.heroSearchService = heroSearchService;
@@ -41,17 +42,18 @@ var HeroSearchComponent = (function () {
var link = ['/detail', hero.id];
this.router.navigate(link);
};
- HeroSearchComponent = __decorate([
- core_1.Component({
- moduleId: module.id,
- selector: 'hero-search',
- templateUrl: 'hero-search.component.html',
- styleUrls: ['hero-search.component.css'],
- providers: [hero_search_service_1.HeroSearchService]
- }),
- __metadata('design:paramtypes', [hero_search_service_1.HeroSearchService, router_1.Router])
- ], HeroSearchComponent);
return HeroSearchComponent;
}());
+HeroSearchComponent = __decorate([
+ core_1.Component({
+ moduleId: module.id,
+ selector: 'hero-search',
+ templateUrl: 'hero-search.component.html',
+ styleUrls: ['hero-search.component.css'],
+ providers: [hero_search_service_1.HeroSearchService]
+ }),
+ __metadata("design:paramtypes", [hero_search_service_1.HeroSearchService,
+ router_1.Router])
+], HeroSearchComponent);
exports.HeroSearchComponent = HeroSearchComponent;
//# sourceMappingURL=hero-search.component.js.map
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.component.js.map b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.component.js.map
index 2da83860..bd942d13 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.component.js.map
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.component.js.map
@@ -1 +1 @@
-{"version":3,"file":"hero-search.component.js","sourceRoot":"","sources":["hero-search.component.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAAkC,eAAe,CAAC,CAAA;AAClD,uBAAuB,iBAAiB,CAAC,CAAA;AACzC,2BAA2B,iBAAiB,CAAC,CAAA;AAC7C,wBAAwB,cAAc,CAAC,CAAA;AAEvC,oCAAkC,uBAAuB,CAAC,CAAA;AAU1D;IAIE,6BACU,iBAAoC,EACpC,MAAc;QADd,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,WAAM,GAAN,MAAM,CAAQ;QAJhB,gBAAW,GAAG,IAAI,iBAAO,EAAU,CAAC;IAIhB,CAAC;IAE7B,oCAAM,GAAN,UAAO,IAAY;QACjB,iDAAiD;QACjD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;IAED,sCAAQ,GAAR;QAAA,iBAcC;QAbC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,WAAW;aAC3B,YAAY,CAAC,GAAG,CAAC,CAAQ,iCAAiC;aAC1D,oBAAoB,EAAE,CAAG,iDAAiD;aAC1E,SAAS,CAAC,UAAA,IAAI,IAAI,OAAA,IAAI,CAAG,qCAAqC;cAE3D,KAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC;cAEnC,uBAAU,CAAC,EAAE,CAAS,EAAE,CAAC,EAJV,CAIU,CAAC;aAC7B,KAAK,CAAC,UAAA,KAAK;YACV,4BAA4B;YAC5B,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YACnB,MAAM,CAAC,uBAAU,CAAC,EAAE,CAAS,EAAE,CAAC,CAAC;QACnC,CAAC,CAAC,CAAC;IACP,CAAC;IAED,wCAAU,GAAV,UAAW,IAAU;QACnB,IAAI,IAAI,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;QAChC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAvCH;QAAC,gBAAS,CAAC;YACT,QAAQ,EAAE,MAAM,CAAC,EAAE;YACnB,QAAQ,EAAE,aAAa;YACvB,WAAW,EAAE,4BAA4B;YACzC,SAAS,EAAE,CAAC,2BAA2B,CAAC;YACxC,SAAS,EAAE,CAAC,uCAAiB,CAAC;SAC/B,CAAC;;2BAAA;IAkCF,0BAAC;AAAD,CAAC,AAjCD,IAiCC;AAjCY,2BAAmB,sBAiC/B,CAAA"}
\ No newline at end of file
+{"version":3,"file":"hero-search.component.js","sourceRoot":"","sources":["hero-search.component.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAkD;AAClD,0CAAyC;AACzC,8CAA6C;AAC7C,wCAAuC;AAEvC,6DAA0D;AAU1D,IAAa,mBAAmB;IAI9B,6BACU,iBAAoC,EACpC,MAAc;QADd,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,WAAM,GAAN,MAAM,CAAQ;QAJhB,gBAAW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ularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.service.js b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.service.js
index e8e0d1ec..d699434c 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.service.js
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.service.js
@@ -8,8 +8,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
-var core_1 = require('@angular/core');
-var http_1 = require('@angular/http');
+Object.defineProperty(exports, "__esModule", { value: true });
+var core_1 = require("@angular/core");
+var http_1 = require("@angular/http");
var HeroSearchService = (function () {
function HeroSearchService(http) {
this.http = http;
@@ -19,11 +20,11 @@ var HeroSearchService = (function () {
.get("app/heroes/?name=" + term)
.map(function (r) { return r.json(); });
};
- HeroSearchService = __decorate([
- core_1.Injectable(),
- __metadata('design:paramtypes', [http_1.Http])
- ], HeroSearchService);
return HeroSearchService;
}());
+HeroSearchService = __decorate([
+ core_1.Injectable(),
+ __metadata("design:paramtypes", [http_1.Http])
+], HeroSearchService);
exports.HeroSearchService = HeroSearchService;
//# sourceMappingURL=hero-search.service.js.map
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.service.js.map b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.service.js.map
index c53c732a..38767b1a 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.service.js.map
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero-search.service.js.map
@@ -1 +1 @@
-{"version":3,"file":"hero-search.service.js","sourceRoot":"","sources":["hero-search.service.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAA2B,eAAe,CAAC,CAAA;AAC3C,qBAA+B,eAAe,CAAC,CAAA;AAM/C;IACE,2BAAoB,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;IAAI,CAAC;IAEnC,kCAAM,GAAN,UAAO,IAAY;QACjB,MAAM,CAAC,IAAI,CAAC,IAAI;aACb,GAAG,CAAC,sBAAoB,IAAM,CAAC;aAC/B,GAAG,CAAC,UAAC,CAAW,IAAK,OAAA,CAAC,CAAC,IAAI,EAAY,EAAlB,CAAkB,CAAC,CAAC;IAC9C,CAAC;IARH;QAAC,iBAAU,EAAE;;yBAAA;IASb,wBAAC;AAAD,CAAC,AARD,IAQC;AARY,yBAAiB,oBAQ7B,CAAA"}
\ No newline at end of file
+{"version":3,"file":"hero-search.service.js","sourceRoot":"","sources":["hero-search.service.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAA2C;AAC3C,sCAA+C;AAM/C,IAAa,iBAAiB;IAC5B,2BAAoB,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;IAAI,CAAC;IAEnC,kCAAM,GAAN,UAAO,IAAY;QACjB,MAAM,CAAC,IAAI,CAAC,IAAI;aACb,GAAG,CAAC,sBAAoB,IAAM,CAAC;aAC/B,GAAG,CAAC,UAAC,CAAW,IAAK,OAAA,CAAC,CAAC,IAAI,EAAY,EAAlB,CAAkB,CAAC,CAAC;IAC9C,CAAC;IACH,wBAAC;AAAD,CAAC,AARD,IAQC;AARY,iBAAiB;IAD7B,iBAAU,EAAE;qCAEe,WAAI;GADnB,iBAAiB,CAQ7B;AARY,8CAAiB"}
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.js b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.js
index e0d68eb2..da5dd1e8 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.js
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.js
@@ -1,4 +1,5 @@
"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
var Hero = (function () {
function Hero() {
}
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.js.map b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.js.map
index 6fdacbd6..d84dacc3 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.js.map
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.js.map
@@ -1 +1 @@
-{"version":3,"file":"hero.js","sourceRoot":"","sources":["hero.ts"],"names":[],"mappings":";AAAA;IAAA;IAGA,CAAC;IAAD,WAAC;AAAD,CAAC,AAHD,IAGC;AAHY,YAAI,OAGhB,CAAA"}
\ No newline at end of file
+{"version":3,"file":"hero.js","sourceRoot":"","sources":["hero.ts"],"names":[],"mappings":";;AAAA;IAAA;IAGA,CAAC;IAAD,WAAC;AAAD,CAAC,AAHD,IAGC;AAHY,oBAAI"}
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.service.js b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.service.js
index 8883f5ae..a4bbeceb 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.service.js
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.service.js
@@ -8,9 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
-var core_1 = require('@angular/core');
-var http_1 = require('@angular/http');
-require('rxjs/add/operator/toPromise');
+Object.defineProperty(exports, "__esModule", { value: true });
+var core_1 = require("@angular/core");
+var http_1 = require("@angular/http");
+require("rxjs/add/operator/toPromise");
var HeroService = (function () {
function HeroService(http) {
this.http = http;
@@ -71,11 +72,11 @@ var HeroService = (function () {
console.error('An error occurred', error);
return Promise.reject(error.message || error);
};
- HeroService = __decorate([
- core_1.Injectable(),
- __metadata('design:paramtypes', [http_1.Http])
- ], HeroService);
return HeroService;
}());
+HeroService = __decorate([
+ core_1.Injectable(),
+ __metadata("design:paramtypes", [http_1.Http])
+], HeroService);
exports.HeroService = HeroService;
//# sourceMappingURL=hero.service.js.map
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.service.js.map b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.service.js.map
index 15322469..3ebeb06c 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.service.js.map
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/hero.service.js.map
@@ -1 +1 @@
-{"version":3,"file":"hero.service.js","sourceRoot":"","sources":["hero.service.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAA2B,eAAe,CAAC,CAAA;AAC3C,qBAAwC,eAAe,CAAC,CAAA;AAExD,QAAO,6BAA6B,CAAC,CAAA;AAKrC;IAGE,qBAAoB,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;QAFtB,cAAS,GAAG,YAAY,CAAC,CAAE,iBAAiB;IAElB,CAAC;IAEnC,+BAAS,GAAT;QACE,MAAM,CAAC,IAAI,CAAC,IAAI;aACb,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;aACnB,SAAS,EAAE;aACX,IAAI,CAAC,UAAA,QAAQ,IAAI,OAAA,QAAQ,CAAC,IAAI,EAAY,EAAzB,CAAyB,CAAC;aAC3C,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;IAED,6BAAO,GAAP,UAAQ,EAAU;QACd,MAAM,CAAC,IAAI,CAAC,IAAI;aACX,GAAG,CAAC,IAAI,CAAC,SAAS,GAAC,GAAG,GAAC,EAAE,CAAC;aAC1B,SAAS,EAAE;aACX,IAAI,CAAC,UAAA,QAAQ,IAAI,OAAA,QAAQ,CAAC,IAAI,EAAU,EAAvB,CAAuB,CAAC;aACz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IAAI,CAAC,UAAA,GAAG,IAAI,OAAA,GAAG,CAAC,IAAI,EAAE,EAAV,CAAU,CAAC;aACvB,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;IAED,uBAAuB;IACf,yBAAG,GAAX,UAAY,IAAU;QACpB,IAAI,OAAO,GAAG,IAAI,cAAO,EAAE,CAAC;QAC5B,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAAC;QAEnD,IAAI,GAAG,GAAM,IAAI,CAAC,SAAS,SAAI,IAAI,CAAC,EAAI,CAAC;QAEzC,MAAM,CAAC,IAAI,CAAC,IAAI;aACb,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;aACpD,SAAS,EAAE;aACX,IAAI,CAAC,cAAM,OAAA,IAAI,EAAJ,CAAI,CAAC;aAChB,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;IAEO,iCAAW,GAAnB,UAAoB,KAAU;QAC5B,OAAO,CAAC,KAAK,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;QAC1C,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,CAAC;IAChD,CAAC;IACH,kBAAC;AAAD,CAAC,AAvED,IAuEC;AAvEY,WAAW;IADvB,iBAAU,EAAE;qCAIe,WAAI;GAHnB,WAAW,CAuEvB;AAvEY,kCAAW"}
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/heroes.component.js b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/heroes.component.js
index d5e546e4..4dc8daeb 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/heroes.component.js
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/heroes.component.js
@@ -8,9 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
-var core_1 = require('@angular/core');
-var router_1 = require('@angular/router');
-var hero_service_1 = require('./hero.service');
+Object.defineProperty(exports, "__esModule", { value: true });
+var core_1 = require("@angular/core");
+var router_1 = require("@angular/router");
+var hero_service_1 = require("./hero.service");
var HeroesComponent = (function () {
function HeroesComponent(router, heroService) {
this.router = router;
@@ -57,16 +58,17 @@ var HeroesComponent = (function () {
HeroesComponent.prototype.gotoDetail = function () {
this.router.navigate(['/detail', this.selectedHero.id]);
};
- HeroesComponent = __decorate([
- core_1.Component({
- moduleId: module.id,
- selector: 'my-heroes',
- templateUrl: 'heroes.component.html',
- styleUrls: ['heroes.component.css']
- }),
- __metadata('design:paramtypes', [router_1.Router, hero_service_1.HeroService])
- ], HeroesComponent);
return HeroesComponent;
}());
+HeroesComponent = __decorate([
+ core_1.Component({
+ moduleId: module.id,
+ selector: 'my-heroes',
+ templateUrl: 'heroes.component.html',
+ styleUrls: ['heroes.component.css']
+ }),
+ __metadata("design:paramtypes", [router_1.Router,
+ hero_service_1.HeroService])
+], HeroesComponent);
exports.HeroesComponent = HeroesComponent;
//# sourceMappingURL=heroes.component.js.map
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/heroes.component.js.map b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/heroes.component.js.map
index 4eac9123..156feaf4 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/heroes.component.js.map
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/heroes.component.js.map
@@ -1 +1 @@
-{"version":3,"file":"heroes.component.js","sourceRoot":"","sources":["heroes.component.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAAkC,eAAe,CAAC,CAAA;AAClD,uBAAuB,iBAAiB,CAA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Y,eAAe;IAN3B,gBAAS,CAAC;QACT,QAAQ,EAAE,MAAM,CAAC,EAAE;QACnB,QAAQ,EAAE,WAAW;QACrB,WAAW,EAAE,uBAAuB;QACpC,SAAS,EAAE,CAAC,sBAAsB,CAAC;KACpC,CAAC;qCAQkB,eAAM;QACD,0BAAW;GARvB,eAAe,CAkD3B;AAlDY,0CAAe"}
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/main.js b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/main.js
index d749f1e3..0df2b4a6 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/main.js
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/main.js
@@ -1,6 +1,7 @@
"use strict";
-var platform_browser_dynamic_1 = require('@angular/platform-browser-dynamic');
-var app_module_1 = require('./app.module');
+Object.defineProperty(exports, "__esModule", { value: true });
+var platform_browser_dynamic_1 = require("@angular/platform-browser-dynamic");
+var app_module_1 = require("./app.module");
platform_browser_dynamic_1.platformBrowserDynamic().bootstrapModule(app_module_1.AppModule)
.then(function (success) { return console.log("Bootstrap success"); })
.catch(function (error) { return console.log(error); });
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/main.js.map b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/main.js.map
index 8521b274..b7dbe63a 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/main.js.map
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/main.js.map
@@ -1 +1 @@
-{"version":3,"file":"main.js","sourceRoot":"","sources":["main.ts"],"names":[],"mappings":";AAAA,yCAAuC,mCAAmC,CAAC,CAAA;AAE3E,2BAA0B,cAAc,CAAC,CAAA;AAEzC,iDAAsB,EAAE,CAAC,eAAe,CAAC,sBAAS,CAAC;KAChD,IAAI,CAAC,UAAA,OAAO,IAAI,OAAA,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,EAAhC,CAAgC,CAAC;KACjD,KAAK,CAAC,UAAA,KAAK,IAAI,OAAA,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAlB,CAAkB,CAAC,CAAC"}
\ No newline at end of file
+{"version":3,"file":"main.js","sourceRoot":"","sources":["main.ts"],"names":[],"mappings":";;AAAA,8EAA2E;AAE3E,2CAAyC;AAEzC,iDAAsB,EAAE,CAAC,eAAe,CAAC,sBAAS,CAAC;KAChD,IAAI,CAAC,UAAA,OAAO,IAAI,OAAA,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,EAAhC,CAAgC,CAAC;KACjD,KAAK,CAAC,UAAA,KAAK,IAAI,OAAA,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAlB,CAAkB,CAAC,CAAC"}
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/rxjs-extensions.js b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/rxjs-extensions.js
index 552f3ce4..6c6b78de 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/rxjs-extensions.js
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/rxjs-extensions.js
@@ -1,13 +1,14 @@
"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
// Observable class extensions
-require('rxjs/add/observable/of');
-require('rxjs/add/observable/throw');
+require("rxjs/add/observable/of");
+require("rxjs/add/observable/throw");
// Observable operators
-require('rxjs/add/operator/catch');
-require('rxjs/add/operator/debounceTime');
-require('rxjs/add/operator/distinctUntilChanged');
-require('rxjs/add/operator/do');
-require('rxjs/add/operator/filter');
-require('rxjs/add/operator/map');
-require('rxjs/add/operator/switchMap');
+require("rxjs/add/operator/catch");
+require("rxjs/add/operator/debounceTime");
+require("rxjs/add/operator/distinctUntilChanged");
+require("rxjs/add/operator/do");
+require("rxjs/add/operator/filter");
+require("rxjs/add/operator/map");
+require("rxjs/add/operator/switchMap");
//# sourceMappingURL=rxjs-extensions.js.map
\ No newline at end of file
diff --git a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/rxjs-extensions.js.map b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/rxjs-extensions.js.map
index 2ccfd80d..f4dfb05a 100644
--- a/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/rxjs-extensions.js.map
+++ b/samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/rxjs-extensions.js.map
@@ -1 +1 @@
-{"version":3,"file":"rxjs-extensions.js","sourceRoot":"","sources":["rxjs-extensions.ts"],"names":[],"mappings":";AAAA,8BAA8B;AAC9B,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,2BAA2B,CAAC,CAAA;AAEnC,uBAAuB;AACvB,QAAO,yBAAyB,CAAC,CAAA;AACjC,QAAO,gCAAgC,CAAC,CAAA;AACxC,QAAO,wCAAwC,CAAC,CAAA;AAChD,QAAO,sBAAsB,CAAC,CAAA;AAC9B,QAAO,0BAA0B,CAAC,CAAA;AAClC,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,6BAA6B,CAAC,CAAA"}
\ No newline at end of file
+{"version":3,"file":"rxjs-extensions.js","sourceRoot":"","sources":["rxjs-extensions.ts"],"names":[],"mappings":";;AAAA,8BAA8B;AAC9B,kCAAgC;AAChC,qCAAmC;AAEnC,uBAAuB;AACvB,mCAAiC;AACjC,0CAAwC;AACxC,kDAAgD;AAChD,gCAA8B;AAC9B,oCAAkC;AAClC,iCAA+B;AAC/B,uCAAqC"}
\ No newline at end of file