Skip to content
This repository was archived by the owner on Apr 9, 2018. It is now read-only.

Commit 6a0c45f

Browse files
committed
move Angular 2 instructions to the bottom of usage
1 parent 6c04efa commit 6a0c45f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,17 @@ export class EsriMapComponent implements OnInit {
8686
}
8787
```
8888

89+
### In an Angular CLI Application
90+
91+
To use this library in an [Angular CLI](https://github.com/angular/angular-cli) application, the best place to start is to follow the instructions in [this gist](https://gist.github.com/tomwayson/e6260adfd56c2529313936528b8adacd).
92+
93+
For an example of how to use this service to lazy load the ArcGIS API and resolve modules in a route, see
94+
[esri-angular-cli-example's esri-map-resolve.service.ts](https://github.com/tomwayson/esri-angular-cli-example/blob/ab4540912904cf78ccfd904fb3bfa4c69b4aa1da/src/app/esri-map/esri-map-resolve.service.ts).
95+
96+
### In an angular2-webpack-starter Application
97+
98+
See [this gist](https://gist.github.com/jwasilgeo/00855ee002aca822e33abd8a7a031f56) for instructions on how to use this library in an [AngularClass/angular2-webpack-starter](https://github.com/AngularClass/angular2-webpack-starter) application.
99+
89100
### In an Angular 2 Application
90101

91102
Example of using the loader service in a component to lazy load the ArcGIS API and create a map
@@ -127,17 +138,6 @@ export class EsriMapComponent implements OnInit {
127138
}
128139
```
129140

130-
### In an Angular CLI Application
131-
132-
To use this library in an [Angular CLI](https://github.com/angular/angular-cli) application, the best place to start is to follow the instructions in [this gist](https://gist.github.com/tomwayson/e6260adfd56c2529313936528b8adacd).
133-
134-
For an example of how to use this service to lazy load the ArcGIS API and resolve modules in a route, see
135-
[esri-angular-cli-example's esri-map-resolve.service.ts](https://github.com/tomwayson/esri-angular-cli-example/blob/ab4540912904cf78ccfd904fb3bfa4c69b4aa1da/src/app/esri-map/esri-map-resolve.service.ts).
136-
137-
### In an angular2-webpack-starter Application
138-
139-
See [this gist](https://gist.github.com/jwasilgeo/00855ee002aca822e33abd8a7a031f56) for instructions on how to use this library in an [AngularClass/angular2-webpack-starter](https://github.com/AngularClass/angular2-webpack-starter) application.
140-
141141
## ArcGIS Types
142142
This service doesn't make any assumptions about which version of the ArcGIS API you are using, so you will have to manually install the appropriate types.
143143

0 commit comments

Comments
 (0)