angularjs bootstrap datepicker

angularjs, datepicker

Solution

Use `Datepicker` with `AngularStrap` instead of `AngularUI` because it's more recent: http://mgcrea.github.io/angular-strap/1.0/#/datepicker (so far bootstrap 2 only)

Problem

i am using bootstrap datepicker with angular js... https://gist.github.com/rsvalerio/5606688 https://gist.github.com/danbarua/5356062 according to it.. if i need to pass options to the datepicker it should be like: ``` <input type="text" b-datepicker="{format: 'dd-mm-yyyy'}" ng-model="dateObject" > ``` but this is not working. i am not able to fix the code, please help

Original source