خرید بک لینک

Vote count: 0

Here's the fiddle: https://jsfiddle.net/challenger/622qzqsc/

I have an intermediate abstract state, which serves as timeline builder. Here at its template I use (which is incorrect) the ui-sref=".({year: year})" call.

I expected that the dot '.' in ui-sref would reflect the current child state I was standing on instead of the abstract state itself.

Is it possible to navigate to main.list.movies state (to self) picking a different year parameter from main.list state / view?

asked 10 mins ago

1 Answer

Vote count: 0

Use .movies with parameters {year: year}, which will redirect to same state with different parameter. Where . means based on parent state it will find a child state to navigate.

ui-sref=".movies({year: year})"

Forked Plunkr

answered 6 mins ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 6 ارديبهشت 1395 ساعت: 22:01

صفحه بندی