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
3
votes
1 answer

How to use the onHide option of angular-strap's modal

I use angular-strap and the modal service. I try to invoke a function when closing the modal with the parameter onHide. var _modal = $modal({ templateUrl: "app/pages/fee/modals/historic/fee.historic.html", controller:…
3
votes
1 answer

Can't destroy angular-strap popover

I'm creating popovers with angular-strap using the $popover service like this: this.popover = $popover(this.element, { title: 'popover title', content: 'popover content', trigger: 'hover', container:…
ignacardel
  • 91
  • 1
  • 9
3
votes
2 answers

Popovers without jQuery

I've been implementing popovers with AngularStrap and AngularUI Bootstrap. I can get both of these frameworks to get popovers working alongside the full jQuery library, but not when I exclude jQuery. I know that Angular includes a version of…
UltraSonja
  • 881
  • 17
  • 30
3
votes
2 answers

disable weekend dates on angular bootstrap datepicker using custom directive

I'm using Angular bootstrap datapicker plugin in my angular app. I've written a custom directive for the date pickers in my app. And i want to disable the weekends in the date picker at certain places. I've given the functions that disables the…
3
votes
0 answers

Programmatically collapse/expand bs-collapse in controller

Is there a method to collapse/expand angular-strap's collapse element in controller? I want to collapse a bs-collapse element when its content is clicked. For that I need to control the state of a bs-collapse element. I expect a $collapse service…
kokeksibir
  • 1,575
  • 2
  • 17
  • 29
3
votes
1 answer

Angular-strap data-trigger='focus' not working

the data-trigger focus is not working for me ... Nothing is actually happening when I am clicking on this element. If I remove…
Scipion
  • 9,227
  • 7
  • 59
  • 120
3
votes
4 answers

Angular JS factory vs service vs provider by example

I know this question has been asked and answers have been given. But I learn best through practical examples and I came across code that I didn't fully understand. I'm referring to Angular Strap which is an awesome set of directives for cool user…
Shaz
  • 2,664
  • 1
  • 19
  • 21
3
votes
1 answer

Use components from both angular-strap and ui-bootstrap

How can I selectively use components from both angular-strap and ui-bootstrap without them colliding and breaking my application? Example: Include custom build of ui-bootstrap which only includes $modal implementation. Try to use $alert from…
amergin
  • 962
  • 1
  • 10
  • 32
3
votes
1 answer

Array not returning in angularstrap typeahead

I'm following this plunker to create a typeahead in my project. http://plnkr.co/edit/ZjpJxXkl0v5LhQdxcqWn?p=preview app.js (not working with my API) $scope.getAddress = function(viewValue) { var params = {address: viewValue, sensor: false}; …
3
votes
0 answers

AngularStrap datepicker shows wrong date

I've met the following problem with angularStrap datepicker: if I set via controller any date of 2014 year, then the displayed value will be the same but of 2013 year. For example: if I set 2014-10-12 value in controller, then the displayed value…
Alexey
  • 1,237
  • 7
  • 13
3
votes
3 answers

Angular Strap Datepicker: Inconsistent timestamps returned, UTC +0 vs UTC +12 hours

Situation: We are using Angular-Strap's datepicker and want to return UTC timestamps to the server. When selecting a date (no time selection) we found out that some computers return a timestamp with a time of 0:00, and some with a time of…
MeProtozoan
  • 1,027
  • 3
  • 13
  • 26
3
votes
2 answers

Angularstrap Modal hides the vertical browser scrollbar

I'm testing modal window of angular strap and something unwanted happens. In a large document while the modal is visible the browser scrollbar disappears. Then, when you close the modal, the browser scrollbar is displayed again and the document…
rnrneverdies
  • 13,347
  • 9
  • 57
  • 89
3
votes
1 answer

timeout-error when testing login-dialog using protractor and angular-strap modal

I have a login-dialog using a angular-strap modal, which gets invoked by: scope.authModal = $modal({ template: '/components/login/login.html', show: false, scope: scope, backdrop:…
Sentenza
  • 1,208
  • 11
  • 23
3
votes
1 answer

Onchange event with AngularStrap select element

I want to execute a function when the value of the select element changes (the select element in angular-strap is html tag) My HTML:
3
votes
1 answer

AngularStrap 2.x throw 404 Not Found when used with requirejs

I'm trying to use angular-strap with requirejs in a project and I did the following in requirejs.config.js file: require.config({ baseUrl: 'app', paths: { .......... angular: '../bower_components/angular/angular', …
Kareem Elshahawy
  • 1,411
  • 1
  • 12
  • 27
1 2
3
25 26