As a continuation to a previous post (in which I’ve shown you how to use subscription), we are now going to implement that subscription to our HTTP requests in order to display the data on the page.; Author: Code Maze; Updated: 19 Mar 2018; Section: Applications & Tools; Chapter: Web Development; Updated: 19 Mar 2018
As a continuation to a previous post (in which I’ve shown you how to use subscription), we are now going to implement that subscription to our HTTP requests in order to display the data on the page.
As a continuation to a previous post (in which I’ve shown you how to use subscription), we are now going to implement that subscription to our HTTP requests in order to display the data on the page. Furthermore, we are going to use an advantage of lazy content loading, by using another module in our application – the owner module.
If you want to see all the basic instructions and complete navigation for this series, check out the following link:
For the previous part, check out:
The source code is available at GitHub .NET Core, Angular 4 and MySQL. Part 10 – Source Code.
This post is divided into several sections:
Create a new folder and name it owner. Inside, create a new file and name it owner.module.ts. As you might have noticed, we are creating a new module inside the application which is going to be responsible for all the owner operations.
There are two small differences between this module file and app module file. The first difference is that in the app module file, we have an statement…
.NET Core 2.0, Angular 4 and MySQL. Part 10 Lazy Loading