SlideShare a Scribd company logo
AngularJS RTP Slides - Angular 2 Demo #ngtattoo with Angular CLI, Newest New Router, Forms
Good Evening!
made with keynote by andrew hask
@ladyleet
Material Design
How many of you are using Angular 2?
by andrew haskin
@ladyleet
@ladyleethttps://www.youtube.com/watch?v=1NXhOChi54U
Tracy Lee
@ladyleet
github.com/ladyleet
modern-web.org
medium.com/@ladyleet
@ladyleet
Entrepreneur
sold my startup Dishcrawl
Junior Developer
Playing with frameworks & JS
Traveling Entrepreneur
New company, #digitalnomad
Who Knows?
LYFE. #YOLO
@ladyleet
Bit About My Life
@ladyleet
Reason is Easy?
• Angular-CLI (thx ember-cli)
• Convention over configuration
• Scaling across larger teams
• Quicker ramp time
Material Design
Today I want to show you
- Building an Angular 2 Angular-CLI app
- Demo of newest new router
- Demo of template-driven forms
by andrew haskin
@ladyleet
@ladyleet
Latest Versions
Angular 2 : RC4
Router: 3.0.0 beta 2
Angular-CLI : 1.0.0 beta 11 webpack
Angular Forms: 0.2.0
@ladyleet
We’re prototyping the ng-tattoo app
Create angular-cli ng2 app
@ladyleet
Here’s the journey we’re about to take
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Deploying to Firebase
Template-driven forms
Using the new router
Create angular-cli ng2 app
@ladyleet
Angular 2
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Deploying to Firebase
Template-driven forms
Using the new router
Material Design
$ npm install angular-cli@webpack -g
$ npm install angular-cli@1.0.0-beta.11-webpack
go into your package.json and make sure there is no ^
in angular-cli devDependencies
$ ng new <name-of-app>
$ ng s
by andrew haskin
@ladyleet
Create angular-cli ng2 app
@ladyleet
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Angular 2
Deploying to Firebase
Template-driven forms
Using the new router
Material Design
$ npm install materialize-css
by andrew haskin
@ladyleet
Material Design
add to your index.html file
<script src=”https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/
jquery.js"></script>
<link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/
materialize/0.97.6/css/materialize.min.css”>
<script src=”https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/
js/materialize.min.js"></script>
by andrew haskin
@ladyleet
@ladyleet
Success Looks Like This
Font will change to material design standard font - Roboto
Create angular-cli ng2 app
@ladyleet
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Angular 2
Deploying to Firebase
Template-driven forms
Using the new router
@ladyleet
Angular 2 Angular-CLI Webpack App Structure
component based
.css
.html
.spec.ts
.ts
angular-cli webpack changes
no more angular-cli-build.js
no more system-config.ts)
Create angular-cli ng2 app
@ladyleet
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Angular 2
Deploying to Firebase
Template-driven forms
Using the new router
Material Design
Basic Component Generation
$ ng generate <component-name>
Shortcuts & Configurations
(use ng g - - help for full list)
$ ng g c -is -it - - nospec <component-name>
(generates component and adds inline style, inline template, and doesn’t
generate spec file)
by andrew haskin
@ladyleet
Create angular-cli ng2 app
@ladyleet
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Angular 2
Deploying to Firebase
Template-driven forms
Using the new router
Create angular-cli ng2 app
@ladyleet
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Angular 2
Deploying to Firebase
Template-driven forms
Using the new router
Create angular-cli ng2 app
@ladyleet
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Angular 2
Deploying to Firebase
Template-driven forms
Using the new router
Create angular-cli ng2 app
@ladyleet
What we’ve learned today
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Deploying to Firebase
Template-driven forms
Using the new router
Community that’s helped me along
@ladyleet
Angular Bootcamp
@angularbootcamp
One Hungry Mind Training
@simpulton
Angular Master Class
@pascalprecht
The Ben Lesh
@benlesh
Deborah Kurata
@deborahkurata
Sean Larkin
@thelarkinn
Mike Brocchi
@brocco
@ladyleet
Resources
Github starter repo: https://github.com/ladyleet/ngtattoo-ngexample
App on Firebase: https://ng2-rdu.firebaseapp.com/
Post: How to use materialize-css with Angular 2
https://medium.com/@ladyleet/using-materializecss-with-your-angular-2-angular-cli-
app-2eb64b05a1d2#.28mbpguuv
Post: Using Angular 2’s new router
https://medium.com/@ladyleet/using-angular-2s-brand-new-router-
a868fdc23503#.ubyiddj7n
Post: Displaying data using ngFor
https://medium.com/@ladyleet/displaying-data-with-the-ngfor-directive-in-your-
angular-2-app-1b72cab1121e#.vpiznb2bi
Post: How to use template-driven forms
https://medium.com/@ladyleet/getting-started-using-angular-2-forms-with-
angular-2-99b468b4f045#.mxmqt58eg
Tracy Lee
@ladyleet
github.com/ladyleet
modern-web.org
medium.com/@ladyleet
made with keynote
Thank you!
@ladyleet
AngularJS RTP Slides - Angular 2 Demo #ngtattoo with Angular CLI, Newest New Router, Forms

More Related Content

PDF
Creating an Angular 2 Angular CLI app in 15 Minutes Using MaterializeCSS & Fi...
PDF
Creating BananaJS with Angular 2, Angular CLI, and Material Design
PDF
The Tale of 2 CLIs - Ember-cli and Angular-cli
PDF
Using Angular-CLI to Deploy an Angular 2 App Using Firebase in 30 Minutes
PDF
Getting started with Angular CLI
PDF
A Tale of 3 CLIs - Angular 2, Ember, and React
PDF
Getting Started with the Angular 2 CLI
PPTX
Angular CLI : HelloWorld
Creating an Angular 2 Angular CLI app in 15 Minutes Using MaterializeCSS & Fi...
Creating BananaJS with Angular 2, Angular CLI, and Material Design
The Tale of 2 CLIs - Ember-cli and Angular-cli
Using Angular-CLI to Deploy an Angular 2 App Using Firebase in 30 Minutes
Getting started with Angular CLI
A Tale of 3 CLIs - Angular 2, Ember, and React
Getting Started with the Angular 2 CLI
Angular CLI : HelloWorld

What's hot (19)

PDF
20210411 全端網頁開發起手式:建構並佈署Angular網頁應用程式至GCP
PDF
Front Ends for Back End Developers - Spring I/O 2017
PDF
Get Hip with Java Hipster - JavaOne 2017
PDF
Building Cloud Native Progressive Web Apps with Angular and Spring Boot - Dev...
PDF
Up & running with ECMAScript6
PDF
Webpack and angularjs
PPTX
Gdg makurdi
PDF
Angular 2.0
PPTX
Intro to Azure Webjobs
PDF
Developing PWAs and Mobile Apps with Ionic, Angular, and JHipster - Devoxx Mo...
PPTX
SharePoint Fest Chicago 2017 - SharePoint Framework, Angular & Azure Functions
PDF
Automating Aegir Platform builds with Git; Fabric; and Drush
PDF
Develop Hip APIs and Apps with Spring Boot and Angular - Connect.Tech 2017
PDF
Beginner's Guide to Angular 2.0
PDF
Under the Hood with Headless WordPress and the Google Cloud Platform
PDF
Angular is on Fire(base) - Shmuela Jacobs - Codemotion Amsterdam 2017
PDF
Jenkins with Heroku
PPTX
Lazy angular w/ webpack
PDF
Bootiful Development with Spring Boot and Angular - Connect.Tech 2017
20210411 全端網頁開發起手式:建構並佈署Angular網頁應用程式至GCP
Front Ends for Back End Developers - Spring I/O 2017
Get Hip with Java Hipster - JavaOne 2017
Building Cloud Native Progressive Web Apps with Angular and Spring Boot - Dev...
Up & running with ECMAScript6
Webpack and angularjs
Gdg makurdi
Angular 2.0
Intro to Azure Webjobs
Developing PWAs and Mobile Apps with Ionic, Angular, and JHipster - Devoxx Mo...
SharePoint Fest Chicago 2017 - SharePoint Framework, Angular & Azure Functions
Automating Aegir Platform builds with Git; Fabric; and Drush
Develop Hip APIs and Apps with Spring Boot and Angular - Connect.Tech 2017
Beginner's Guide to Angular 2.0
Under the Hood with Headless WordPress and the Google Cloud Platform
Angular is on Fire(base) - Shmuela Jacobs - Codemotion Amsterdam 2017
Jenkins with Heroku
Lazy angular w/ webpack
Bootiful Development with Spring Boot and Angular - Connect.Tech 2017
Ad

Similar to AngularJS RTP Slides - Angular 2 Demo #ngtattoo with Angular CLI, Newest New Router, Forms (20)

PDF
From 0 to Developer - Silicon Valley Code Camp
PDF
The 4W's of Angular
PPTX
Angular 2 On Production (IT Talk in Dnipro)
PPTX
Angular 2.0
PDF
Angular meetup 2 2019-08-29
PDF
The Angular road from 1.x to 2.0
PDF
Brief introduction to Angular 2.0 & 4.0
PDF
What is Angular version 4?
PDF
Angular - Chapter 1 - Introduction
PDF
Angular material tutorial
PDF
ReactJS or Angular
PDF
Adventures with Angular 2
PDF
Angular JS 2_0 BCS CTO_in_Res V3
PPT
Angular.ppt
PDF
Angular js
PDF
Angular js
PPTX
What's new in Angular 2?
PDF
Myths of Angular 2: What Angular Really Is
PDF
Angular 2 vs React. What to chose in 2017?
PDF
Quick introduction to Angular 4 for AngularJS 1.5 developers
From 0 to Developer - Silicon Valley Code Camp
The 4W's of Angular
Angular 2 On Production (IT Talk in Dnipro)
Angular 2.0
Angular meetup 2 2019-08-29
The Angular road from 1.x to 2.0
Brief introduction to Angular 2.0 & 4.0
What is Angular version 4?
Angular - Chapter 1 - Introduction
Angular material tutorial
ReactJS or Angular
Adventures with Angular 2
Angular JS 2_0 BCS CTO_in_Res V3
Angular.ppt
Angular js
Angular js
What's new in Angular 2?
Myths of Angular 2: What Angular Really Is
Angular 2 vs React. What to chose in 2017?
Quick introduction to Angular 4 for AngularJS 1.5 developers
Ad

More from Tracy Lee (20)

PDF
Contributing to Open Source - Angular World Tour
PDF
ChicagoJS's JSCAMP 2019 Keynote - Inclusive Architecture - Building Sustainab...
PDF
Angular Girls Kansas City - The Power of Open Source and Social Media
PDF
Diversity & Inclusion Conference Talk - Refactr
PDF
Inclusive Architecture - Introducing the PAMstack - [Refactr.tech]
PDF
RxJS Operators - Real World Use Cases (FULL VERSION)
PDF
RxJS Operators - Real World Use Cases - AngularMix
PDF
Diversity, Inclusive Mindsets, and Architecture
PDF
Diversity & Inclusion Keynote at Open Source 101
PDF
Reactive programming with RxJS - ByteConf 2018
PDF
A Practical Approach to React Native at All Things Open Conference
PDF
The Power of RxJS in Nativescript + Angular
PDF
React Native - Getting Started
PDF
RxJS - The Basics & The Future
PDF
RxJS: A Beginner & Expert's Perspective - ng-conf 2017
PDF
An Introduction Into Using Angular’s Material Design
PDF
The Tale of the 3 CLIs - jDays2017
PDF
Angular Material (2) - NgVikingsConf
PDF
Learning the New Tech Lingua Franca: Social Media
PDF
Ember.js - Harnessing Convention Over Configuration
Contributing to Open Source - Angular World Tour
ChicagoJS's JSCAMP 2019 Keynote - Inclusive Architecture - Building Sustainab...
Angular Girls Kansas City - The Power of Open Source and Social Media
Diversity & Inclusion Conference Talk - Refactr
Inclusive Architecture - Introducing the PAMstack - [Refactr.tech]
RxJS Operators - Real World Use Cases (FULL VERSION)
RxJS Operators - Real World Use Cases - AngularMix
Diversity, Inclusive Mindsets, and Architecture
Diversity & Inclusion Keynote at Open Source 101
Reactive programming with RxJS - ByteConf 2018
A Practical Approach to React Native at All Things Open Conference
The Power of RxJS in Nativescript + Angular
React Native - Getting Started
RxJS - The Basics & The Future
RxJS: A Beginner & Expert's Perspective - ng-conf 2017
An Introduction Into Using Angular’s Material Design
The Tale of the 3 CLIs - jDays2017
Angular Material (2) - NgVikingsConf
Learning the New Tech Lingua Franca: Social Media
Ember.js - Harnessing Convention Over Configuration

Recently uploaded (20)

PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PDF
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
SparkLabs Primer on Artificial Intelligence 2025
PDF
Top Generative AI Tools for Patent Drafting in 2025.pdf
PDF
Smarter Business Operations Powered by IoT Remote Monitoring
PPTX
CroxyProxy Instagram Access id login.pptx
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
PDF
DevOps & Developer Experience Summer BBQ
PDF
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
PPTX
ABU RAUP TUGAS TIK kelas 8 hjhgjhgg.pptx
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
PDF
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
PDF
This slide provides an overview Technology
PDF
Transforming Manufacturing operations through Intelligent Integrations
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
madgavkar20181017ppt McKinsey Presentation.pdf
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
NewMind AI Weekly Chronicles - August'25 Week I
SparkLabs Primer on Artificial Intelligence 2025
Top Generative AI Tools for Patent Drafting in 2025.pdf
Smarter Business Operations Powered by IoT Remote Monitoring
CroxyProxy Instagram Access id login.pptx
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
DevOps & Developer Experience Summer BBQ
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
ABU RAUP TUGAS TIK kelas 8 hjhgjhgg.pptx
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
NewMind AI Weekly Chronicles - July'25 - Week IV
ChatGPT's Deck on The Enduring Legacy of Fax Machines
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
This slide provides an overview Technology
Transforming Manufacturing operations through Intelligent Integrations

AngularJS RTP Slides - Angular 2 Demo #ngtattoo with Angular CLI, Newest New Router, Forms

  • 2. Good Evening! made with keynote by andrew hask @ladyleet
  • 3. Material Design How many of you are using Angular 2? by andrew haskin @ladyleet
  • 6. Entrepreneur sold my startup Dishcrawl Junior Developer Playing with frameworks & JS Traveling Entrepreneur New company, #digitalnomad Who Knows? LYFE. #YOLO @ladyleet Bit About My Life
  • 7. @ladyleet Reason is Easy? • Angular-CLI (thx ember-cli) • Convention over configuration • Scaling across larger teams • Quicker ramp time
  • 8. Material Design Today I want to show you - Building an Angular 2 Angular-CLI app - Demo of newest new router - Demo of template-driven forms by andrew haskin @ladyleet
  • 9. @ladyleet Latest Versions Angular 2 : RC4 Router: 3.0.0 beta 2 Angular-CLI : 1.0.0 beta 11 webpack Angular Forms: 0.2.0
  • 11. Create angular-cli ng2 app @ladyleet Here’s the journey we’re about to take Configure materialize-css Ng2 ng-cli app structure Creating components Deploying to Firebase Template-driven forms Using the new router
  • 12. Create angular-cli ng2 app @ladyleet Angular 2 Configure materialize-css Ng2 ng-cli app structure Creating components Deploying to Firebase Template-driven forms Using the new router
  • 13. Material Design $ npm install angular-cli@webpack -g $ npm install [email protected] go into your package.json and make sure there is no ^ in angular-cli devDependencies $ ng new <name-of-app> $ ng s by andrew haskin @ladyleet
  • 14. Create angular-cli ng2 app @ladyleet Configure materialize-css Ng2 ng-cli app structure Creating components Angular 2 Deploying to Firebase Template-driven forms Using the new router
  • 15. Material Design $ npm install materialize-css by andrew haskin @ladyleet
  • 16. Material Design add to your index.html file <script src=”https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/ jquery.js"></script> <link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/ materialize/0.97.6/css/materialize.min.css”> <script src=”https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/ js/materialize.min.js"></script> by andrew haskin @ladyleet
  • 17. @ladyleet Success Looks Like This Font will change to material design standard font - Roboto
  • 18. Create angular-cli ng2 app @ladyleet Configure materialize-css Ng2 ng-cli app structure Creating components Angular 2 Deploying to Firebase Template-driven forms Using the new router
  • 19. @ladyleet Angular 2 Angular-CLI Webpack App Structure component based .css .html .spec.ts .ts angular-cli webpack changes no more angular-cli-build.js no more system-config.ts)
  • 20. Create angular-cli ng2 app @ladyleet Configure materialize-css Ng2 ng-cli app structure Creating components Angular 2 Deploying to Firebase Template-driven forms Using the new router
  • 21. Material Design Basic Component Generation $ ng generate <component-name> Shortcuts & Configurations (use ng g - - help for full list) $ ng g c -is -it - - nospec <component-name> (generates component and adds inline style, inline template, and doesn’t generate spec file) by andrew haskin @ladyleet
  • 22. Create angular-cli ng2 app @ladyleet Configure materialize-css Ng2 ng-cli app structure Creating components Angular 2 Deploying to Firebase Template-driven forms Using the new router
  • 23. Create angular-cli ng2 app @ladyleet Configure materialize-css Ng2 ng-cli app structure Creating components Angular 2 Deploying to Firebase Template-driven forms Using the new router
  • 24. Create angular-cli ng2 app @ladyleet Configure materialize-css Ng2 ng-cli app structure Creating components Angular 2 Deploying to Firebase Template-driven forms Using the new router
  • 25. Create angular-cli ng2 app @ladyleet What we’ve learned today Configure materialize-css Ng2 ng-cli app structure Creating components Deploying to Firebase Template-driven forms Using the new router
  • 26. Community that’s helped me along @ladyleet Angular Bootcamp @angularbootcamp One Hungry Mind Training @simpulton Angular Master Class @pascalprecht The Ben Lesh @benlesh Deborah Kurata @deborahkurata Sean Larkin @thelarkinn Mike Brocchi @brocco
  • 27. @ladyleet Resources Github starter repo: https://github.com/ladyleet/ngtattoo-ngexample App on Firebase: https://ng2-rdu.firebaseapp.com/ Post: How to use materialize-css with Angular 2 https://medium.com/@ladyleet/using-materializecss-with-your-angular-2-angular-cli- app-2eb64b05a1d2#.28mbpguuv Post: Using Angular 2’s new router https://medium.com/@ladyleet/using-angular-2s-brand-new-router- a868fdc23503#.ubyiddj7n Post: Displaying data using ngFor https://medium.com/@ladyleet/displaying-data-with-the-ngfor-directive-in-your- angular-2-app-1b72cab1121e#.vpiznb2bi Post: How to use template-driven forms https://medium.com/@ladyleet/getting-started-using-angular-2-forms-with- angular-2-99b468b4f045#.mxmqt58eg Tracy Lee @ladyleet github.com/ladyleet modern-web.org medium.com/@ladyleet
  • 28. made with keynote Thank you! @ladyleet