Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular resolver with parameters

{
  path: 'project/:id',
  component: ProjectComponent,
  resolve: { data: AppResolver },
  data: { resolvedata: 'myValue' }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #resolver #parameters
ADD COMMENT
Topic
Name
8+8 =