A
A
ajky2016-12-27 15:11:35
Angular
ajky, 2016-12-27 15:11:35

How to disable/enable page display in angular2, depending on variable loaded asynchronously?

The essence of the subject. You can’t switch to it from another one through CanActivate, but how to prevent its display if you follow a direct link through a browser?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly, 2016-12-27
@vitali1995

What's the problem? I didn't understand why CanActivate failed - it does a great job of it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question