David Muellerchen
David Muellerchen is a trainer at AngularJS.DE. He loves to speak and teach at meetups and conferences. During leisure time he jumps through the parks with his kids or rides his racer. He a
David Müllerchen
Developer since 10 Years
Since 2 Years at
Vanila.js, jQuery, Bootstrap, Angularjs, Angular Material, Angular 2
node.js, mysql, mssql, php
@webdave_de
@angular_hamburg
AngularJS.DE
Community rocks!
code generator
Build tool
dev environment
devOps
Handle all your dependencies
Blackbox the Project settings for easy use
Help you feeling like a Boss
Makes it easy to follow the styleguide
You need (as normal) node and npm installed
Install angular-cli
npm install -g angular-cli
ng v
// or
ng version
// angular-cli: 1.0.0-beta.24
// node: 6.9.2
// os: win32 x64
//cd into your workspace
cd workspace
//scaffold your project
ng new hello-cli --style=scss
//cd into your workspace
cd workspace
//create a Projectfolder
mkdir hello-cli
//scaffold your project
ng init --style=scss
cd hello-cli
ng serve
http://localhost:4200/
//unit test using Karma and jasmine
ng test
//e2e test using protractor
ng serve
ng e2e
ng g
ng generate <blueprint> [<path-to>/]<name>
blueprint:
component
directive
service
pipe
module
class
interface
enum
// build dev
ng build
//build prod (minimized)
ng build --prod
//build prod (minimized) and precompiled
ng build --prod --aot
ng help
https://cli.angular.io/
@webdave_de
@angular_hamburg
@ngvikingsconf
By David Muellerchen
David Muellerchen is a trainer at AngularJS.DE. He loves to speak and teach at meetups and conferences. During leisure time he jumps through the parks with his kids or rides his racer. He a