Services demo29
demo29.component.ts
Injection services, according to the results of the service method returns, decide whether to display a list of
custom.service.ts: a method of packaging
checkUserLogin, to check whether the user is logged in, login status is return true, or is not logged in