I added two new plugins to AngularZF1: BootstrapCalendar and Moment.
BootstrapCalendar is a plugin to include the angular-bootstrap-calendar module in your views.
angular-bootstrap-calendar is an AngularJS port of the original jQuery bootstrap calendar. It is a fantastic calendar module for Angular.
Moment in a plugin to include Momentjs in your views
BootstrapCalendar is configured with the following options in your config ini
; Angular-Bootstrap-Calendar resources.Angular.plugin.BootstrapCalendar.enable = false resources.Angular.plugin.BootstrapCalendar.base = "/js/angular-bootstrap-calendar" Then add the following to your view:
<?php $this->angularBootstrapCalendar(); ?>
Or include it automatically by setting .enable to true. It will automatically include Moment in your view as well.
Moment is configured with the following options in your config.ini
; Moment resources.Js.plugin.moment.enable = false
Then add the following to your view:
<?php $this->jsMoment(); ?>
Or include it automatically by setting .enable to true.
Read more about these plugins and the rest of AngularZF1 on the AngularZF1 page on Github.
Hope you find them helpful!
Thanks to Social & Scientific Systems, Inc. for whom AngularZF1 was originally and continues to be developed.