Angular ui-router - how to access parameters in nested, named view, passed from the parent template?

前端 未结 2 648
心在旅途
心在旅途 2020-11-28 04:03

Hi I am trying to access a parameter in the controller \"ViewWorklogCrtl\" while using ui-router and running into difficulty.

Basically, my parent template contains

2条回答
  •  鱼传尺愫
    2020-11-28 04:32

    I have written a custom directive to solve this problem.

    awesome link
    

    You can clone it from Github: https://github.com/JensEger/Angular-Directives/tree/master/ui-router-helper

提交回复
热议问题