Я только что начал с Angular2 и узнал, что все обучающие материалы, которые можно найти в Интернете, объясняют, как настроить Angular2 для Single Pages Apps (SPA).
Однако для главной страницы моего сайта я все еще хочу использовать PHP и просто использую Angular2 в нескольких местах, таких как Login/Registration/Contact и т.д.
Как можно инициализировать контактный компонент на странице контактов, компонент входа на странице входа и т.д.?
Я не хочу, чтобы все они загружались сразу, просто простой компонент, который обрабатывает функции регистрации, регистрации и т.д.
Я верю, что что-то нужно сделать в части Bootstrapping, но что именно?
EDIT: Я также могу использовать компоненты входа/регистрации на одной странице.