Skip to content
Project intended to explain how to create a simple Angular 2 application.
TypeScript CSS HTML JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
e2e Upgrade: May 8, 2017
src Fix usage of private fields outside the scope. May 24, 2017
.angular-cli.json Upgrade: May 8, 2017
.gitignore Ignore netbeans project directory. Sep 15, 2016
README.md Update project name. Sep 15, 2016
karma.conf.js Fix tests runtime error. Add extension ".ts" MIME type. May 8, 2017
package.json Upgrade material design to latest and typescript. May 24, 2017
protractor.conf.js Upgrade: May 8, 2017
tsconfig.json Upgrade: May 8, 2017
tslint.json Fix JSON syntax error. May 24, 2017

README.md

BeCompany news reader

This project was generated with angular-cli version 1.0.0-beta.11-webpack.9-4.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Deploying to Github Pages

Run ng github-pages:deploy to deploy to Github Pages.

Further help

To get more help on the angular-cli use ng --help or go check out the Angular-CLI README.

You can’t perform that action at this time.