Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I want to pass dynamic url to flow-init's target property. the URL was generated at runtime.

If I assign a scope object which contains the properties for flow-ini. Then it return parse error.

share|improve this question

1 Answer 1

I had the same issue:

flow-init="{target: baseUrl + 'some_url_location/another_url_location/{{entityID}}/'}"

and changed to

flow-init="{target: baseUrl + 'some_url_location/another_url_location/' + entityID + '/'}"

where entityID is $scope.entityID in my js controller. This $scope.entityID is taken from the current URL.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.