Skip to content

nidhishas/Angular-Router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Angular Router, published by Packt

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages