Beginning Angular 2 With Typescript

Author: Greg Lim
Publisher:
ISBN: 1542916674
Release Date: 2017-02-03
Genre:

Angular 2 is one of the leading frameworks to develop apps across all platforms. Reuse your code and build fast and high performing apps for any platform be it web, mobile web, native mobile and native desktop. You use small manageable components to build a large powerful app. No more wasting time hunting for DOM nodes! In this book, we take you on a fun, hands-on and pragmatic journey to master Angular 2 from a web development point of view. You'll start building Angular 2 apps within minutes. Every section is written in a bite-sized manner and straight to the point as I don't want to waste your time (and most certainly mine) on the content you don't need. In the end, you will have what it takes to develop a real-life app. About the Reader This book is for developers with basic familiarity with HTML, CSS, Javascript and object-oriented programming. No TypeScript or AngularJS experience needed. About the Author Greg Lim is a technologist and author of several programming books. Greg has many years in teaching programming in tertiary institutions and he places special emphasis on learning by doing. Table of Contents Introduction Angular 2 Quickstart Rendering Data and Handling Events Building Re-Usable Components Controlling Rendering of HTML Template Driven Forms Model Driven Forms Introduction to Observables Connecting to Server Building Single Page Apps with Routing Structuring Large Apps With Modules C.R.U.D. with Firebase

Angular Development with Typescript

Author: Yakov Fain
Publisher:
ISBN: 1617295345
Release Date: 2018-06-28
Genre: Computers

This practical book covers real-world development concerns like state management, data and views, user interaction with forms, and communicating with servers, as well as testing and deploying your applications. This new edition has been fully revised to cover the latest Angular CLI along with current best practices and updates to Angular 5. Angular Development with Typescript, Second Edition is an intermediate-level tutorial that introduces Angular and TypeScript to developers comfortable with building web applications using other frameworks and tools. You'll start by exploring what makes Angular different by building an online auction app. As you move through the chapters, you'll explore TypeScript as you learn to write type-aware classes, interfaces, generics, and more. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Beginning Angular with Typescript Updated to Angular 5

Author: Greg Lim
Publisher: Createspace Independent Publishing Platform
ISBN: 1981969918
Release Date: 2017-12-22
Genre:

*Updated to Angular 5! Angular is one of the leading frameworks to develop apps across all platforms. Reuse your code and build fast and high performing apps for any platform be it web, mobile web, native mobile and native desktop. You use small manageable components to build a large powerful app. No more wasting time hunting for DOM nodes! In this book, we take you on a fun, hands-on and pragmatic journey to master Angular from a web development point of view. You'll start building Angular apps within minutes. Every section is written in a bite-sized manner and straight to the point as I don't want to waste your time (and most certainly mine) on the content you don't need. In the end, you will have what it takes to develop a real-life app. About the Reader This book is for developers with basic familiarity with HTML, CSS, Javascript and object-oriented programming. No TypeScript or AngularJS experience needed. About the Author Greg Lim is a technologist and author of several programming books. Greg has many years in teaching programming in tertiary institutions and he places special emphasis on learning by doing. Table of Contents Introduction Creating and Using Components Bindings Working with Components Conditional Rendering, Pipes and Ng-Content Template Driven Forms Model Driven Forms Introduction to Observables Getting Data From RESTful APIs with Observables Routing Structuring Large Apps With Modules C.R.U.D. with Firebase Authentication with Firebase

Switching to Angular 2

Author: Minko Gechev
Publisher: Packt Publishing Ltd
ISBN: 9781785887116
Release Date: 2016-03-30
Genre: Computers

Build SEO-friendly, high-performance single-page applications with Angular 2 About This Book Get up to date with the latest changes to Angular 2, including the improvements to directives, change detection, dependency injection, router, and more Understand Angular 2's new component-based architecture Start using TypeScript to supercharge your Angular 2 applications Who This Book Is For Do you want to jump in at the deep end of Angular 2? Or perhaps you're interested assessing the changes before moving over? If so, then Switching to Angular 2 is the book for you. To get the most out of the book, you'll need to be familiar with AngularJS 1.x, and have a good understanding of JavaScript. No knowledge of the changes made to Angular 2 is required follow along. What You Will Learn Understand the changes made from Angular 1.x with side-by-side code samples to help demystify the Angular 2 learning curve Start working with Angular 2's new method of implementing directives Use TypeScript to write modern, powerful Angular 2 applications Dig in to the change-detection method, and other architectural changes to make sure you know what's going on under the hood of Angular 2. Get to work with the new router in Angular 2 Use the new features of Angular 2 including pipes, or the updated features such as forms, services, and the DI module Master server-side rendering in Angular 2 to keep your new applications SEO friendly In Detail AngularJS is a JavaScript framework that makes building web applications easier. It is used today in large-scale, high-traffic websites that struggle with under-performance, portability issues, as well as SEO unfriendliness, and complexity at scale. Angular 2 changes that. It is the modern framework you need to build performant and robust web applications. “Switching to Angular 2” is the quickest way to get to grips with Angular 2 and will help you transition in to the brave new world of Angular 2. We'll start with an overview which sets the changes of the framework in context with version 1.x. After that, you will be taken on a TypeScript crash-course so we can take advantage of Angular 2 in its native, statically-typed environment. We'll look at the new change-detection method in detail, how Directives and Components change how you create websites with Angular, the new Angular 2 router, and much more. By the end of the book, you'll be ready to start building quick and efficient Angular 2 applications that take advantage of all the new features on offer. Style and approach Starting with a comparison between Angular versions that is filled with side-by-side code examples to help highlight the changes, each chapter then looks at major changes to the framework as is filled with small examples and sample code to get you started

Angular 2 Cookbook

Author: Matt Frisbie
Publisher: Packt Publishing Ltd
ISBN: 9781785887505
Release Date: 2017-01-20
Genre: Computers

Discover over 70 recipes that provide the solutions you need to know to face every challenge in Angular 2 head on About This Book A first-rate reference guide with a clear structure and intuitive index that gives you as a developer exactly the information you want in exactly the way you want it Covers no legacy material from the outdated Angular release candidates; it is up-to-date with the latest release of Angular 2.4 All the code in the book is explicitly written out, and every piece of code shown is a step towards building a simple working example Who This Book Is For This book is for developers who are competent with JavaScript and are looking to dive headfirst into the TypeScript edition of Angular 2. This book is also geared towards developers with experience in Angular 1 who are looking to make the transition. What You Will Learn Understand how to best move an Angular 1 application to Angular 2 Build a solid foundational understanding of the core elements of Angular 2 such as components, forms, and services Gain an ability to wield complex topics such as Observables and Promises Properly implement applications utilizing advanced topics such as dependency injection Know how to maximize the performance of Angular 2 applications Understand the best ways to take an Angular 2 application from TypeScript in a code editor to a fully function application served on your site Get to know the best practices when organizing and testing a large Angular 2 application In Detail Angular 2 introduces an entirely new way to build applications. It wholly embraces all the newest concepts that are built into the next generation of browsers, and it cuts away all the fat and bloat from Angular 1. This book plunges directly into the heart of all the most important Angular 2 concepts for you to conquer. In addition to covering all the Angular 2 fundamentals, such as components, forms, and services, it demonstrates how the framework embraces a range of new web technologies such as ES6 and TypeScript syntax, Promises, Observables, and Web Workers, among many others. This book covers all the most complicated Angular concepts and at the same time introduces the best practices with which to wield these powerful tools. It also covers in detail all the concepts you'll need to get you building applications faster. Oft-neglected topics such as testing and performance optimization are widely covered as well. A developer that reads through all the content in this book will have a broad and deep understanding of all the major topics in the Angular 2 universe. Style and approach This book follows a cookbook approach—each recipe presents a unique problem to which the solution is presented in a clear, concise, and manner step-by-step manner. With practical hands-on guidance in each and every recipe, you'll be able to get to grips with the concepts.

Learning Angular

Author: Christoffer Noring
Publisher: Packt Publishing Ltd
ISBN: 9781787125940
Release Date: 2017-12-08
Genre: Computers

Build modern SPAs by learning the latest and powerful features of Angular 5 and TypeScript 2.x About This Book The best overview of Angular 5 on the market, this guide gathers together everything there is to know about Angular 5 and groups it into intuitive sections. Learn to build, grow and test powerful and scalable mobile and desktop web applications with Angular Explore the latest features of Angular 5 and TypeScript 2.4 by building a complete responsive application from scratch. Deliver seamless web navigation experiences with application routing and state handling common features with ease The author has done all the hard work of fitting everything Angular 5 means for developers, making this book the quickest way to learn Angular 5 from scratch. Who This Book Is For This book is for web developers who want to build the next generation of state-of-the-art mobile and desktop web applications with Angular. This book does not require you to have prior exposure to either Angular 1.x, 2 or 4, although comprehensive knowledge of JavaScript is assumed. What You Will Learn Set up the workspace and the project using webpack and Angular-Cli Explore the features of TypeScript and organize the code in ES6 modules Work with HTTP and Data Services and understand how data can flow in the app Create multiple views and learn how to navigate between them Make the app beautiful by adding Material Design Implement two different types of form handling and its validation Add animation to some standard events such as route change, initialization, data load, and so on Discover how to bulletproof your applications by introducing smart unit testing techniques and debugging tools In Detail The latest version of Angular comes with a lot of new features that help you to make your applications smaller and faster. This book will show you how to set up an Angular project, and you'll build Angular components right from the beginning. Moving on, you'll explore and work with the components to build your app. Next, you'll find out more about TypeScript and see how to use it to build apps in the best way possible. You'll then be introduced to the building blocks - Properties, Events, Directives, and Pipes - and how it can be used to implement and enhance the components. Additionally, you'll be using Angular components to organize your components in a scalable way. Then you'll understand how to get data in your app and add navigation to it. Furthermore, you'll deep dive and work with Forms, Authentication, and see how Material design will help you make your app beautiful in just a few short lines of code. Lastly, you'll see how to use animating components with Angular, and test and debug the app. All in all, the overall mission is to give you a great start when developing apps using Angular and TypeScript. Style and approach This book tells you everything there is to know about getting well-acquainted with Angular without bogging you down. Everything is neatly laid out under clear headings for quick consultation, giving you the information required to understand a concept immediately. You'll also get full coverage of the TypeScript syntax required to follow the examples included.

Angular 2 Interview Questions and Answers

Author: Anil Singh
Publisher: Educreation Publishing
ISBN:
Release Date: 2017-08-16
Genre: Education

This book has the collection of Angular 2 Interview Questions and Answers with TypeScript and basic of Angular 4. Angular 2 is a most popular framework for developing mobile as well as web applications. Angular 2 is so simpler, faster, modular and instrumented design and it is developed by Google and Misko Hevery is the father of Angular. You can learn complete knowledge of Angular 2, TypeScript and Angular 4 simpler and faster with examples. This book has important questions and answers for beginner and expert level of developers and it's containing 115 questions and answers with TypeScript, Angular 4 and examples.

Pro Angular

Author: Adam Freeman
Publisher: Apress
ISBN: 9781484223079
Release Date: 2017-01-24
Genre: Computers

Angular 4.0 updates for this book are now available. Follow the Download source code link for this book on the Apress website. Get the most from Angular 2, the leading framework for building dynamic JavaScript applications. Best-selling author Adam Freeman begins by describing the MVC pattern and the benefits it can offer and then shows you how to use Angular in your projects, starting from the nuts-and-bolts and building up to the most advanced and sophisticated features, going in-depth to give you the knowledge you need. Each topic is covered clearly and concisely and is packed with the details you need to learn to be truly effective. The most important features are given a no-nonsense in-depth treatment and chapters include common problems and details of how to avoid them. What you’ll learn Gain a solid architectural understanding of the MVC Pattern Learn how to create rich and dynamic web app clients using Angular 2 Learn how to extend and customize Angular 2 Learn how to test your Angular 2 projects Who this book is for Web developers with a foundation knowledge of HTML and JavaScript who want to create rich client-side applications. /div

Mastering TypeScript

Author: Nathan Rozentals
Publisher: Packt Publishing Ltd
ISBN: 9781786467485
Release Date: 2017-02-24
Genre: Computers

Build enterprise-ready, industrial-strength web applications using TypeScript and leading JavaScript frameworks About This Book Start with the basics, then enhance your knowledge with in-depth discussions on language features, third-party libraries, design patterns and more Practical examples that show how to use TypeScript with popular frameworks, including Backbone, Angular 2, React, Aurelia, Node and others Focus on test-driven development to build high quality applications that are modular, scalable and adaptable Who This Book Is For Whether you are a JavaScript developer aiming to learn TypeScript, or an experienced TypeScript developer, this book will take your skills to the next level. From basic to advanced language constructs, test-driven development, object-oriented techniques and industry standard design patterns, you will learn how to get the most out of the TypeScript language. What You Will Learn Gain an insight into core and advanced TypeScript language features Integrate your existing JavaScript libraries and third-party frameworks by writing and using declaration files Target popular JavaScript frameworks such as jQuery, Backbone, Angular, Aurelia, React, Node, and Express Create extensive test suites for your application with Jasmine, Protactor, and Selenium Organize your application code using modules, AMD loaders, Require and SystemJs Explore advanced object-oriented design principles, including Dependency Injection Understand and compare the various MVC implementations in Aurelia, Angular, React and Backbone Build a complete single-page web application that incorporates CSS animations to enhance your customers' browsing experience In Detail The TypeScript language, compiler, and opensource development toolset brings JavaScript development up to the enterprise level. It allows us to use ES5, ES6, and ES7 JavaScript language features today, including classes, interfaces, generics, modules, and more. Its simple typing syntax enables building large, robust applications using object-oriented techniques and industry standard design principles. Packed with practical, real-world examples, this book is a guide to bringing the benefits of strongly typed, object-oriented programming and design principles into the JavaScript development space. Starting with core language features, and working through more advanced topics such as generics and asynchronous programming techniques, you will learn how to gain maximum benefit from your JavaScript development with TypeScript. With a strong focus on test-driven development, and coverage of many popular and in-demand JavaScript frameworks, you can fast-track your TypeScript knowledge to a professional level. By the end of this book, you will be able to confidently build TypeScript applications, whether you are targeting Angular, Aurelia, React, Backbone, Node, or any other JavaScript framework. Style and approach With generous doses of small, easy to follow code samples, this hands-on guide builds up your TypeScript knowledge incrementally. Starting with entry-level concepts, and moving towards intermediate and then advanced techniques, this book provides practical examples of real-world techniques to build robust, testable, adaptable and enterprise-ready JavaScript applications.

Angular Router

Author: Victor Savkin
Publisher: Packt Publishing Ltd
ISBN: 9781787287150
Release Date: 2017-03-20
Genre: Computers

From Angular core team member and creator of the router About This Book Written by the creator of the Angular router, giving you the best information straight from the source Get full coverage of the entire Angular Router library and understand exactly how every command works Essential for all serious users of Angular who need to manage states within their applications Who This Book Is For To get the most from this book, you should already have a good understanding of Angular and general web development. What You Will Learn Understand the role of the Angular router and how to make the most of it Build and parse complex URLs Learn about the componentless and empty-path routes Take control of states in your application Make use of imperative navigation Understand guards and how they can benefit your applications Optimize configuration and run tests on your routing In Detail Managing state transitions is one of the hardest parts of building applications. This is especially true on the web, where you also need to ensure that the state is reflected in the URL. In addition, you might want to split applications into multiple bundles and load them on demand. Doing this transparently isn't easy. The Angular router solves these problems. Using the router, you can declaratively specify application states, manage state transitions while taking care of the URL, and load bundles on demand. This book is a complete description of the Angular router written by its designer. It goes far beyond a how-to-get-started guide and talks about the library in depth. The mental model, design constraints, and the subtleties of the API-everything is covered. You'll learn in detail how to use the router in your own applications. Predominantly, you'll understand the inner workings of the router and how you can configure it to work with any edge cases you come across in your sites. Throughout the book, you'll see examples from real-world use in the MailApp application. You can view the full source of this application and see how the router code works to manage the state of the application and define what is visible on screen. Reading this book will give you deep insights into why the router works the way it does and will make you an Angular router expert. Style and approach This is an extremely practical book full of code examples and descriptions to help you understand the inner workings of the Angular router.

Learning Angular

Author: Brad Dayley
Publisher: Addison-Wesley Professional
ISBN: 9780134577029
Release Date: 2017-09-19
Genre: Computers

Learning Angular, Second Edition A Hands-On Guide to Angular 2 and Angular 4 Learning Angular teaches modern application development with Angular 2 and Angular 4. It begins with the basics of Angular and the technologies and techniques used throughout the book, such as key features of TypeScript, newer ES6 syntax and concepts, and details about the tools needed to write professional Angular applications. The reader will next build an Angular application from scratch while learning about the primary pieces of an Angular application and see how they work together. Using lots of examples, the core parts of Angular will be introduced, such as Components, the Router, and Services. The book also covers techniques like server-side rendering and how to incrementally add Angular 2+ features to existing AngularJS applications. Finally, the reader will gain insight into advanced skills that should be part of any professional Angular developer’s toolkit such as testing, tooling options, and performance tuning. Understand how Angular is organized and learn best practices for designing Angular applications Quickly build Angular templates with built-in directives that enhance the user experience Bind UI elements to your data model, so changes to your model and UI occur automatically in tandem Define custom Angular directives that extend HTML Implement zoomable images, expandable lists, and other rich UI components Implement client-side services that interact with web servers Build dynamic browser views to provide even richer user interaction Create custom services you can easily reuse Implement rich UI components as custom Angular directives Contents at a Glance Introduction What is Angular Why Use Angular Who this Book is For How to Use this Book Getting the Source Code Chapter 1: Jumping into JavaScript Setting Up a JavaScript Development Environment Defining Variables Understanding JavaScript Data Types Using Operators Implementing Looping Creating Functions Understanding Variable Scope Using JavaScript Objects Manipulating Strings Working with Arrays Adding Error Handling Chapter 2: Jumping into TypeScript Learning the Different Types Understanding Interfaces Implementing Classes Implementing Modules Understanding Functions Chapter 3: Getting Started with Angular Why Angular? Understanding Angular Separation of Responsibilities Adding Angular to Your Environment Using the Angular CLI Creating a Basic Angular Application Chapter 4: Angular Components Component Configuration Building the Template Using Constructors Using External Templates Implementing Directives Chapter 5: Expressions Using Expressions Using Pipes Building a Custom Pipe Chapter 6: Data Binding Understanding Data Binding Interpolation Property Binding Attribute Binding Class Binding Style Binding Event Binding Two-Way Binding Chapter 7: Built-in Directives Understanding Directives Using Built-in Directives Structural Directives Attribute Directives Chapter 8: Custom Directives Creating a Custom Attribute Directive Creating a Custom Directive with a Component Chapter 9: Events and Change Detection Using Browser Events Emitting Custom Events Using Observables Chapter 10: Implementing Angular Services in Web Applications Understanding Angular Services Using the Built in Services Sending HTTP GET and PUT Requests with the http Service Implementing a Simple Mock Server Using the http Service Changing Views with the router Service Implementing a Router with a Navigation Bar Implementing a Router with Parameters Chapter 11: Creating Your Own Custom Angular Service Integrating Custom Services into Angular Applications Implementing a Simple Application That Uses a Constant Data Service Implementing a Data Transform Service Implementing a Variable Data Service Implementing a Service that Returns a Promise Implementing a Shared Service Chapter 12: Having Fun with Angular Implementing an Angular Application That Uses the Animation Service Implementing an Angular Application That Zooms in on Images Implementing an Angular Application That Enables Drag and Drop Implementing a Star Rating Angular Component

Ng Book

Author: Nathan Murray
Publisher: Createspace Independent Publishing Platform
ISBN: 1985170280
Release Date: 2018-02-06
Genre:

ng-book. The in-depth, complete, and up-to-date book on Angular. Become an Angular expert today. Updated for Angular, Angular CLI, and Community Style Guide Ready to master Angular? What if you could master the entire framework - with solid foundations - in less time without beating your head against a wall? Imagine how quickly you could work if you knew the best practices and the best tools? Stop wasting your time searching and have everything you need to be productive in one, well-organized place, with complete examples to get your project up without needing to resort to endless hours of research. You will learn what you need to know to work professionally with ng-book: The Complete Book on Angular. Get up and running quickly The first chapter opens with building your first Angular app. Within the first few minutes, you'll know enough to have an app running Lots of Sample Apps and Code When you buy ng-book, you're not buying just a book, but dozens of code examples. Every chapter in the book comes with a complete project that uses the concepts in the chapter. The code is available for download, free from our website. Table of Contents Writing your first Angular web application How Angular Works Built-in Directives Forms in Angular 2 HTTP and APIs Routing Dependency Injection Data Architecture in Angular 2 Data Architecture with Observables and RxJS Data Architecture with Redux Redux and TypeScript Data Architecture with Redux Advanced Components Testing Converting an Angular 1 app to Angular Comprehensive You'll learn core Angular concepts - from how Angular works under the hood, to rich interactive components, from in-depth testing to real-world applications Best Practices Learn Angular best practices, such as: testing, code organization, and how to structure your app for performance. We'll walk through practical, common examples of how to implement complete components of your applications Example Apps included in the book The book comes with sample apps that show you how to create: A component-based Reddit clone A real-time chat app using RxJS Observables A YouTube search-as-you-type app A Spotify search for tracks with playable song preview Plus lots more mini-examples that show you how to write Components, how to use Forms, and how to use APIs The code examples currently have over 5,500+ lines of runnable code (TypeScript, non-comment lines) What our Customers Say "Fantastic work guys! I have no idea where I'd be with Angular without ng-book. You guys have made this SOOOO much easier to learn and keep up with. Thanks again..you guys are awesome!" -- Jacob Cheriathundam "Just finished ng-book2. I think it is the best learning material one can find about Angular today." -- Jegor Uglov FAQ What version does the book cover? This revision of the book covers up to angular-4.1.0. An updated version of the code is available for free at our website. Do I have to know Angular 1? Nope! We don't assume that you've used Angular 1. This book teaches Angular from the ground up. Of course, if you've used Angular 1, we'll point out common ideas (because there are many), but ng-book stands on its own Is ng-book an upgrade to ng-book 1? No. This is a completely new book and shares no content or code with ng-book 1. Angular 1 and Angular 2+ are two different frameworks and ng-book 1 and ng-book are two different books.

Mastering Angular 2 Components

Author: Gion Kunz
Publisher: Packt Publishing Ltd
ISBN: 9781785881817
Release Date: 2016-06-30
Genre: Computers

Learn to build component-based user interfaces of the future using Angular 2 About This Book Developers will be able to make better websites right away by building the example components in the book You'll learn new ways of conceptualizing how to design your web applications, which will prepare you to keep making more sophisticated projects Learning these concepts and building these apps will put developers ahead of the curve in preparing for "tomorrow's Internet," as component-based development and component-centric thinking are increasingly in demand Who This Book Is For This book is for Angular developers who already have a good understanding of basic frontend web technologies such as JavaScript, HTML, and CSS. You will learn about the new component-based architecture in Angular 2 and how to use it to build modern and clean user interfaces. What You Will Learn Understand the concept of a component-based UI architecture Grasp Angular 2 core concepts See the technologies used to work with Angular 2 (mainly ES6) Perform basic and advanced tasks using Angular 2 components Use dependency injection within Angular 2 components Test Angular 2 components with testing frameworks Structure an application using Angular 2 Build an entire application from A to Z using Angular 2 In Detail Through this book, you will learn how to use Angular 2 and its component-based architecture in order to develop modern user interfaces. A new holistic way of thinking about UI development will be established throughout this book, and you will discover the power of Angular 2 components through many examples. This book is based on Release Candidate 1(RC1) of Angular 2. On this journey, you'll discover the benefits of component-based user interfaces over the classical MVC design. Also, you will get a chance to compare a classical MVC with a component-based approach and understand the challenges of modern user interfaces. You will learn the very basics of the required core technologies and the setup needed to get going with Angular 2, and progressively enhance your understanding of Angular 2 components by working on the example application. After reading the book and following the example application, you will have built a small-to-mid-sized application with Angular 2 using a component-based UI architecture. Style and approach The new component-style directives in Angular 2 will change developers' workflows and their way of thinking about shared and reusable blocks of custom HTML in the shadow DOM. This is the first book to guide developers along this path. It provides a practical way of learning concepts, giving you the chance to build components of your own. With this book, you will get ahead of the curve in a new wave of web development by tightly focusing on one area, which is the key to unlocking the powers of Angular development.

Angular 2 By Example

Author: Chandermani Arora
Publisher: Packt Publishing Ltd
ISBN: 9781785881404
Release Date: 2016-11-14
Genre: Computers

Discover everything you need to know to build your own Angular 2 applications the hands-on way About This Book Master the Angular way to structure, build, deploy, and test your code Understand Angular 2's new component-based architecture Build a game and workout runner apps on the Angular platform Who This Book Is For This book is for JavaScript developers who are new to Angular 2, or are familiar with the basics but want to take things a step further. If you are motivated to learn by doing things actively, this book is for you. What You Will Learn Design, develop, deploy, and test the apps you build Work your way through every aspect of app development using Angular2 Understand the inner workings of Angular's view templating and data-binding capabilities Work on HTML forms and learn the Angular way to bind, validate, and format data Create component, structural, and attribute directives to extend standard HTML behavior Integrate with the server backend and find out about data retrieval and persistence using Angular Gain practical insight into the challenges of building apps using Angular as well as their solutions In Detail Angular 2 will help you build faster, more efficient, and more flexible cross-platform applications. Angular 2 is known for taking the pain out of JavaScript development, and enabling more organized, readable, and testable code. This book builds three apps with varying degrees of complexity. It starts with a simple 'Guess the Number' game, which serves as a platform to launch you into the world of Angular. Next, you will learn to construct a popular '7-Minute Workout' app, covering the building blocks of Angular. The final app, 'Personal Trainer' morphs the existing '7-Minute Workout' into a full-fledged personal workout builder and runner, covering advanced directive building, which is the most fundamental and powerful feature of Angular. In addition to this, you will learn about testability and the framework constructs Angular provides to effectively test your app. The book concludes by providing you with practical advice and useful tips that will come in handy as you build more and more apps with Angular. Style and approach This project-based book will get you building fun projects to see how Angular works in the wild. The book focuses more on doing things rather than just reading the theory. The chapters are structured to introduce the concept, then implement it, and finally explain why it worked.