0
0
JRJose Romero
The first code block says to use the NameComponent in the path variable. The second code block says to use the NameComponent as the component for the path variable.
Library: angular
Shortcut: angular.routes.path.eager
{ path: 'path', component: NameComponent },