Questions tagged [angular-strap]

AngularStrap is a set of native directives that enables seamless integration of Twitter Bootstrap into AngularJS applications. With no external dependency except the Bootstrap CSS styles, AngularStrap is light and fast. It has been built from the ground up to leverage ngAnimate!

Angularstrap is an adapter between Angularjs and Twitter Bootstrap.

You can see demos here: http://mgcrea.github.io/angular-strap/

381 questions
6
votes
2 answers

Opening the angular-strap datepicker programmatically

I am using AngularJS 1.2.12 and angular-strap 2.0.0-rc.2 (mgcrea.github.io/angular-strap/) and I can't find a way to open the datepicker/timepicker widget from within the controller. I want to use an input-group with a calendar-icon-button like…
xJREB
  • 304
  • 4
  • 9
6
votes
1 answer

How to pass custom data to an angular-strap modal

I am using angular-strap's modal and have built my own template. My issue is that my template has 2 buttons, however, I the text and functionality of these buttons will change. As a result, I would like to pass on that data to the modal before I…
NicolasMoise
  • 7,171
  • 10
  • 42
  • 65
5
votes
2 answers

How to use Angular-Strap to create a modal with a controller?

I'm struggling to find the right way to use an Angular-Strap modal/aside with a controller. Yes, the calling code could inject the $scope, making it available to the modal. But there are issues with that. myModal = $modal({ scope: $scope, template:…
Spock
  • 2,139
  • 26
  • 26
5
votes
1 answer

Manual trigger of show / hide in angularstrap datepicker

I want to use a button to show and hide the datepicker. http://mgcrea.github.io/angular-strap/##datepickers there are no documentations on how to do this var app = angular.module('mgcrea.ngStrapDocs', ['ngAnimate', 'ngSanitize',…
5
votes
1 answer

$injector:modulerr using angular-strap?

I am trying to get going with angular-strap directives, but encountering a module initialization error with the simplest setup. I have double checked a zillion times but can't see exactly what I might be missing. Here is a plunker link:…
GroovyBee
  • 265
  • 2
  • 10
5
votes
1 answer

Angular-Strap Error: [$injector:unpr] Unknown provider: $datepickerProvider

I am learning AngularJs and there are a lot of new terms or which I am beginning to understand however this one I can't seem to figure out what I am doing wrong. All I am trying to do is use Angular-Strap to load a datepicker on my page.…
devfunkd
  • 2,929
  • 10
  • 42
  • 67
5
votes
0 answers

AngularStrap Tab with dynamic html and controller

I am creating tabs using AngularStrap and would like to dynamically load an html fragment for each as shown in the following questions, but also would like to specify a dynamic controller. See: AngularStrap tabs load html fragment Here are my…
user2437059
  • 63
  • 1
  • 4
4
votes
1 answer

AngularStrap data-container="self" not working on Firefox

I am trying to use hover to show dropdown / popover and use data-container="self" to make the dropdown / popover stay appear when mouse moved to it. This method works on Google Chrome but not on Firefox. Example Code:
4
votes
1 answer

Dynamic placement of Angular-Strap datepicker

I've got a problem with angular-strap datepicker placement field. Is there a way to make the placement attribute dynamically so that it doesn't overlaps with the window height.[bottom,top]. This is a directive inside ng-repeat. What we get for the…
4
votes
1 answer

Disable focus event on left click only in AngularJS

I have an angular-strap datepicker that I only want to show on right click. This I want to do over the default focus() method, as this is convenient for closing the thing once it blurs. To use the focus method on any element like a DIV, I added a…
4
votes
1 answer

angular-strap timepicker saves different time

I am using angular-strap to save date and time for a project, but the time being displayed is not the same time being saved. I can not find any information anywhere on fixing this issue. Has anyone else had this problem?! Screen shot of data
4
votes
2 answers

Properly Handing Anchors in AngularStrap's ScrollSpy

How can I properly use AngularStrap's ScrollSpy interface to link to anchors within the current document? Looking at the AngularStrap documentation I see that when a link is visited a double hash is actually generated. Such as:…
Nicholas Pappas
  • 9,646
  • 12
  • 50
  • 81
4
votes
5 answers

Close AngularStrap popover

When I click a button, it appears a popover which can be closed if you click the button inside the popover. However, if you click another button to open a popover, you will see two popovers at the same time and I want to keep just one. I have tried…
grouser
  • 586
  • 7
  • 21
4
votes
6 answers

AngularStrap close modal with controller

I'm using AngularStrap with bootstrap. I have a modal dialog that uses it's own controller. How can I close the modal using this local controller? I instantiate the controller on a button like this:
3
votes
1 answer

How to make AngularStrap typeahead selection uneditable

I'm using AngularStrap's typeahead element: When a fruit is selected in the typeahead it is displayed in the typeahead…
lsimmons
  • 549
  • 1
  • 6
  • 18
1
2
3
25 26