AngularJS is an open-source JavaScript framework from Google that makes developing rich web applications much easier. Slides used in the fisrt AngularJS Zürich Meetup.
Code can be found at https://github.com/carlos-/ajs-intro
8. Static HTML
Dynamic HTML
HTML + CSS + JavaScript
Dynamic web pages
Server rendered the HTML pages
Ajax: Asynchronous JavaScript XML
DOM manipulation
Model View ViewModel (MVVM)
The Single-Page App
9. WHAT IS ANGULARJS
HTML enhanced for web apps!
AngularJS is NOT
- Library
- Does not abstract away HTML, CSS or JS
AngularJS is
- JavaScript Framework
- Extends HTML into more readable format
- Reduces DOM manipulation
- Allows easier testing
17. VIEWS, CONTROLLERS & SCOPE
Business logic needed for each single view
VIEW
Define module
CONTROLLER
Define controller
$scope the glue between
application controller and view
24. FUTURE TOPICS
- Routing
- Support framework: yeoman, grunt, bower
- Testing: Unit testing vs. e2e testing. Karma, Yasmine
- Talking to server
- Security: authentication and authorization
- Angular services
- Building Forms
- i18n and l10n
- Animations
- Directives
- Building phone apps with AngularJS