Angular UI month picker

后端 未结 7 2326
日久生厌
日久生厌 2020-12-15 18:34

I am trying to use angular-ui-datepicker as a month picker. But not able to configure it, tried it all. Here is the PLUNKER.

I tried to set the modes as



        
7条回答
  •  被撕碎了的回忆
    2020-12-15 19:20

    Just write these lines:

    HTML

     
    

    JS

    $scope.date = new Date();
    

    **Don't forget to include necessary js/css files from http://angular-ui.github.io/bootstrap/

    These above code worked for me. :) I know Its too late, but it may help some one.

提交回复
热议问题