Groups
Groups
Sign in
Groups
Groups
Angular and AngularJS discussion
Conversations
Labels
About
Send feedback
Help
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 PM
1/28/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
1/30/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
Got the required answer on stackoverflow.. Here is the link if anyone comes across this posting.
http://stackoverflow.com/questions/28172387/angularjs-simple-datepicker-using-controller-as-not-scope
Reply all
Reply to author
Forward
0 new messages