Skip to content

PacktPublishing/Angular-Router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

#Angular Router This is the code repository for Angular Router, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

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. ##Instructions and Navigation All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

The code will look like the following:

@Component({
 template: `
 Edit
 `
})
class MessageCmp {
 public id: string;
 constructor(private route: ActivatedRoute) {
 route.params.subscribe(_ => this.id = _.id);
 }
}

##Related Products

###Suggestions and Feedback Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781787288904

About

Angular Router, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •