<commit_before><p align="center">
  <img src="https://res.cloudinary.com/angularclass/image/upload/v1431925418/webpackAndangular2_dwhus9.png" alt="Webpack and Angular 2" width="500px;" height="320px;"/>
</p>

# Angular2 Webpack Starter
> A starter kit featuring [Angular 2](https://angular.io), [Router](https://angular.io/docs/js/latest/api/router/), [TypeScript](http://www.typescriptlang.org/), and [Webpack](http://webpack.github.io/) by [AngularClass](https://angularclass.com)

This repo serves as an extremely minmal starter for anyone looking to get up and running with Angular 2 and TypeScript. Using a [Webpack](http://webpack.github.io/) for building our files and assiting with boilerplate.
* Best practice in file organization for Angular
* Ready to go build system for working with TypeScript

### Quick start
> Edit `app.ts` inside `/src/components/app.ts`

```bash
$ npm start
```


## File Structure
We use the component approach in our starter. This is the new standard for developing Angular apps and a great way to ensure maintainable code by encapsulation of our behavior logic. A component is basically a self contained app usually in a single file or a folder with each concern as a file: style, template, specs, e2e, and component class. Here's how it looks:
```
src
--public/ * static assets are served here
----lib/ * static libraries
------traceur.min.js * ignore this file for now as it's required by Angular 2
----favicon.ico * replace me with your own favicon.ico
----index.html * where we place our script tags
--app/
----bootstrap.js * entry file for app
----components/ * where most of components live
------app.js * entry file for components
------home/ * home component
--------home.js * home entry file
--------home.component.js * directive for home<commit_msg>docs(readme): link to ng6 if for angular 1<commit_after><p align="center">
  <img src="https://res.cloudinary.com/angularclass/image/upload/v1431925418/webpackAndangular2_dwhus9.png" alt="Webpack and Angular 2" width="500px;" height="320px;"/>
</p>

# Angular2 Webpack Starter
> A starter kit featuring [Angular 2](https://angular.io), [Router](https://angular.io/docs/js/latest/api/router/), [TypeScript](http://www.typescriptlang.org/), and [Webpack](http://webpack.github.io/) by [AngularClass](https://angularclass.com).
If you're looking for Angular 1.x please use [NG6-starter](https://github.com/angular-class/NG6-starter)

This repo serves as an extremely minmal starter for anyone looking to get up and running with Angular 2 and TypeScript. Using a [Webpack](http://webpack.github.io/) for building our files and assiting with boilerplate.
* Best practice in file organization for Angular
* Ready to go build system for working with TypeScript

### Quick start
> Edit `app.ts` inside `/src/components/app.ts`

```bash
$ npm start
```


## File Structure
We use the component approach in our starter. This is the new standard for developing Angular apps and a great way to ensure maintainable code by encapsulation of our behavior logic. A component is basically a self contained app usually in a single file or a folder with each concern as a file: style, template, specs, e2e, and component class. Here's how it looks:
```
src
--public/ * static assets are served here
----lib/ * static libraries
------traceur.min.js * ignore this file for now as it's required by Angular 2
----favicon.ico * replace me with your own favicon.ico
----index.html * where we place our script tags
--app/
----bootstrap.js * entry file for app
----components/ * where most of components live
------app.js * entry file for components
------home/ * home component
--------home.js * home entry file
--------home.component.js * directive for home
{'fraction_non_alphanumeric': 0.1273799946366318, 'fraction_numerical': 0.014212925717350496, 'mean_word_length': 3.914361001317523, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 9, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7402747', 'n_tokens_mistral': 1098, 'n_tokens_neox': 1013, 'n_words': 441}