Closed suissa closed 10 years ago
This works, but i need the gid. angular-ratings(ng-model="user_rating", notify-url="/api/deal/edit/", notify-id="id")
So sorry, I never saw the email about this issue. Were you able to get this to work?
I believe the answer would be to set notify-url to a variable and then set that variable in your controller... I'd have to test it myself, but that should work. Honestly I'm surprised the gid wasn't interpolated as you had it.
My code:
This works a(href='/api/deal/edit/{{gid}}') Save
This dont angular-ratings(ng-model="user_rating", notify-url="/api/deal/edit/{{gid}}", notify-id="id")