I have an angular app in which i have the following:
<div class="col-md-5 form-inline">
<label for="bdate">Beginning Date:</label>
<input type="date" class="form-control" ng-model="begindate" id="bdate" placeholder="mm-dd-yyyy">
</div>
<div class="col-md-4 form-inline">
<label for="edate">End Date:</label>
<input type="date" class="form-control" ng-model="enddate" id="edate" placeholder="mm-dd-yyyy">
</div>
<div class="col-md-3">
<a href="report/{{begindate}}/{{enddate}}" class="btn btn-default pull-right" role="button">Export</a>
</div>
When i click on the export button, the url that should be generated is not right.
http://localhost:8000/myapp/report/"2015-05-01T05:00:00.000Z"/"2015-05-26T05:00:00.000Z"
But it should be generated without the quotes. What is going wrong here?