Hi, i have to pass 2 datepickers values as parameters for a route controller

if i pass static values like this

ng-click="checkAvailability('/route3/:ersd/:sdfvdf');"
it works
if i pass dynamic values from angularjs like this
ng-click="checkAvailability('/route3/:{{checkin}}/:{{checkout}}');"
the url in the address bar is this
http://www.mywebsite.com/demolab/?p=468#/route3/:{{checkin}}/:{{checkout}}

how could i do to pass dynamic values what's wrong?
becouse in the other route i pass a dynamic value this way and it works
<a 
href="#/route2/:{{artist.HotelListResponse.HotelList.HotelSummary.hotelId}}"
what's the correct way? thank you for help

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to