Chapter 13. Building a Search Engine Template Using AngularJS 2

To build single page applications (SPAs) using Angular 2, we need to learn how to implement routing in Angular 2. Angular 2 comes with built-in routing APIs, which are very powerful, feature rich, and easy to use. In this chapter, we will build a basic search engine template to demonstrate routing in Angular 2. We won't be building a complete search engine because that's out of the scope of this module. We will use Bootstrap 4 to design the search engine template. At the end of this chapter, you will be comfortable with building SPAs using Angular 2.

In this chapter, we will cover the following topics:

  • Routing in Angular 2
  • The built-in HTTP client provided by Angular 2
  • Generating random ...

Get JavaScript: Moving to ES2015 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.