All Questions
247 questions
0
votes
0
answers
335
views
How do you kick off a js function on expansion of an aria-expanded div in AngularJS?
I have an accordion that I have implemented using aria-expanded in my AngularJS app. It looks as follows:
<div aria-controls="something_{{$id}}" aria-expanded="false"
ng-click="vm.myFunction(...
1
vote
2
answers
3k
views
how to restrict user not to enter more than ten character name?
Could you please tell me how to restrict user not to enter ten character in name field? If user enter more than 10 character than he will not able to enter that. Please suggest a better way?
http://...
0
votes
2
answers
948
views
why date picker not showing red border in angularjs + bootstrap?
I am using angularjs with bootstrap .I have one invalid field in form .I need to make red it border when it is invalid (text become red).there is a class in bootstrap .has-error
http://getbootstrap....
0
votes
1
answer
529
views
How to clear modal's data in Angular after submiting values
I'm using modal to save items to a database, and I'm wondering how to remove previously entered data without refreshing whole website, because right now when I click again "Add new item" which is ...
0
votes
1
answer
770
views
Conditional heading color using uib-accordion
I am using angular-ui with my angularjs application. I have an accordion (uib-accordion) element on my page. Its content, name and state (opened/closed) are bind to an array in the controller.
I want ...
1
vote
3
answers
4k
views
ng-bootstrap modal header and footer not displaying?
I am using Bootstrap 4 so I was able to launch modal window and rendered data from the component but I don't see header and footer that I have part of HTML I can not close the modal window. What is ...
1
vote
1
answer
1k
views
Bootstrap uib modal with multiple controllers
I am trying to use a bootstrap modal and I am passing the main controller in the $uibModal.open({controller : "mainCtrl"}).
So far its all good now I want to have several tabs in the modal and I ...
1
vote
3
answers
2k
views
Angularjs modal is updating my parent scope before the results sent back
I'm launching a modal from my web page and i'm making some changes to an array that i'm passing from my parent, but before I send the updated results back after closing the modal my parent scope ...
0
votes
1
answer
1k
views
Angular ng-repeat for Bootstrap Carousel
I have an issue where my carousel shows the correct amount of uib-slides based on the list (3 items per page so if there are 7 total items there are 3 pages 3/3/1) but instead of the proper 3/3/1 it ...
0
votes
1
answer
900
views
UI Bootstrap Tab title in Panel header
I am trying to do something like this (can be done in simple jQuery+ bootstrap)
But how can i achieve this UI through angularjs (1.x) and ui-bootstrap
which looks like basic like this
Controller.js
...
0
votes
1
answer
239
views
Angular 2 twitter Bootstrap sidemenu not collapsing
I am new in bootstrap , i am using a sidemenu template , it's rendering ok , but when i click on a item it's not collapsing.
I am using this template (https://bootsnipp.com/snippets/featured/...
0
votes
1
answer
511
views
angular-ui-bootstrap: How to swap between vertical and horizontal tab-set views
Currently I use a isNotMobileView passed down to the template through the controller $scope.isNotMobileView:
<uib-tabset active="0" vertical="isNotMobileView">
<uib-tab index="0" heading="...
1
vote
0
answers
21
views
AngularUI popover template compiles only once , doesn't get triggered when I navigate to another page in my SPA
I'm working on a SPA Project.
At the header I have a menu template and under the menu I have ui-router routes.
I built a functionality with popover of Angular Bootstrap . And I am using built-...
0
votes
1
answer
732
views
failing to display bootstrap UI Modal
In my AngularJS application I am using the ngIdle module and following the demo that the author has shared on his Github https://hackedbychinese.github.io/ng-idle/.
I have all the right dependencies ...
1
vote
1
answer
5k
views
angularjs uib-tabset not working under ui-bootstrap 2.5.0
Why this snippet is not working? By clicking on the button, it should switch to the selected tab.
Whereas this example here with different versions of angularjs and bootstrap work:
Link:
angularjs ...