Angularjs ui bootstrap. datepicker using the controller as not $scope

517 views
Skip to first unread message

Rob Davidson

unread,
Jan 28, 2015, 12:47:46 PM1/28/15
to ang...@googlegroups.com
I am trying to implement the datepicker from the angularjs ui bootstrap.  However the examples all use the scope injection.
http://angular-ui.github.io/bootstrap/#/datepicker

Im specitifically trying to implement it using controller as.  This is because the rest of my project I have used controller as rather than injecting $scope alll the time.

This is my attempt on fiddle.  I think its close

http://plnkr.co/edit/lANpSw?p=preview

Rob Davidson

unread,
Jan 30, 2015, 4:51:18 AM1/30/15
to ang...@googlegroups.com
Got the required answer on stackoverflow..  Here is the link if anyone comes across this posting.


Reply all
Reply to author
Forward
0 new messages