Questions tagged [ui.bootstrap]

Angular module with Bootstrap components written in pure AngularJS by the AngularUI Team

85 questions
2
votes
2 answers

Disable future days at ui.bootstrap.datepicker Angularjs

I am using the datepicker of UI Bootstrap: (there is a Plunker there that disable the past dayswith a button). Can anyone please help me to disable the future days without any button? I tried change the function of the button like that, but it…
kfm
  • 143
  • 3
  • 17
2
votes
3 answers

ui bootstrap datepicker alternate date format

How can I allow user to type date in input form in different formats? I see option alt-input-formats. I've tried to pass alternate formats with no result. Controller: vm.altInputFormats = ['M!/d!/yyyy']; Markup:
2
votes
2 answers

Angular modal close function not executing

The loading modal is created correctly, but when the finally block is hit it does not close it. Is there any known reason for this? The loading time is minimal but I still need it for cases where there is a delay. I am testing with a device and…
KvnH
  • 496
  • 1
  • 9
  • 30
2
votes
2 answers

Open and close ui.bootstrap popover within ng-repeat

I have created a plunkr: http://plnkr.co/edit/gUAvoVK7E3llUlFgWIwF?p=preview I am trying to create a popover element that has a close button within a repeater. I have it sort of working but it opens both items in the repeater. How can I set it up so…
featherz
  • 159
  • 10
2
votes
1 answer

Binding ng-click argument object keys to scope properties?

I'm trying to pass an object with variable keys to an ng-click method. In regular javascript you would just do this: var x = "fork"; var obj = {}; obj[x] = "three points" //{ fork: "three points" } Normally to send objects via ng-click you would…
Daniel Lizik
  • 3,058
  • 2
  • 20
  • 42
2
votes
1 answer

Get ui.bootstrap.datepicker value without time/timezone

I need to be able to store the selected date value as date without time in my ng-model. Here is my view: