All Questions
233 questions
0votes
3answers
10kviews
angularjs calling modal dialog from directive
I've created a directive to open a modal dialog. Here's the code: [EDIT] JSFIDDLE HERE: http://jsfiddle.net/graphicsxp/fcQZk/8/ PROBLEM: THE CLOSE BUTTON DOES NOT CLOSE THE MODAL. angular.module('...
114votes
5answers
52kviews
Extending AngularJs Directive
I'd like to make a minor modification to a 3rd party directive (specifically Angular UI Bootstrap). I simply want to add to the scope of the pane directive: angular.module('ui.bootstrap.tabs', []) ....
8votes
4answers
13kviews
angularjs : @mention in textarea
I want to display an autocomplete form triggered by the word @ in my textarea like this library http://ichord.github.io/At.js/ but only using angularjs & css What kind of directive should I write ...
16votes
11answers
36kviews
Create Hoverable popover using angular-ui-bootstrap
I have the following code for creating a popover in my template file: <span class="icon-globe visibility" id="visibilityFor{{post.metaData.assetId}}" popover="{{post....
0votes
2answers
153views
In Angular JS, is there a way to watch for changes to the DOM without using scope.watch?
I am attempting to create an angularjs bootstrap accordion that scrolls the accordion to the top when opened. These solutions are close to what I would like to do: AngularJS / ui-bootstrap accordion ...
13votes
7answers
43kviews
A directive to format phone number
I was wondering how to automatically format a number in an input field using an angularjs directive? When I type in an input field say 6042919283 I want it to be shown as 604-291-9283. Thanks
7votes
7answers
16kviews
hide only clear button in angular js datepicker directive
I want to hide only clear button from datepicker directive in angular js. Currently there are three buttons at the bottom of the angular js datePicker directive(Today, clear and Close), Is there any ...
1vote
0answers
357views
How to reuse modal as a confirm dialog for delete actions from controllers in AngularJS?
I'm having some controllers, both of them also have a delete function trigger by the ng-click and when delete function is called, i'll show a js confirm dialog to alert user about the object they're ...
1vote
1answer
463views
ng-class or ng-style directive not working in ui bootstrap carousel
I am using UI Bootstrap Carousel and need to do some customization in it so that user have access of configuring options such as text color, navigation show/hide, etc.... For this i have used their ...
-1votes
1answer
982views
Angular custom directive to use an if condition in ng-repeat
I am using panels to display the response which is dynamic in nature. I want to differentiate the panels using 2 different colors i.e., if the response has a status of positive, the panel or panel's ...
2votes
3answers
3kviews
$uibModalProvider <- $uibModal <- StatusModalService giving error
Trying to built a modal with angularjs and ui-bootstrap: Version Angularjs and its component is 1.5.3 ui-bootstrap-tpls-1.3.3.js. In main app file I have included 'ui.bootstrap' as var App = ...
0votes
1answer
327views
Pass data to uib-accordion-group
I Have the following code: <div uib-accordion-group class="panel-default" is-open="isOpen" template-url="group-template.html"> <uib-accordion-heading> Custom Title </...
0votes
2answers
368views
How to pass a list of a picklist component via AJAX to my Java controller in AngularJS?
Project: jsp + AngularJS I have a modal, where I already pass some info to my Java controller via POST (ajax), it works fine. But, I inserted a new component and I do not know how to receive my ...
0votes
1answer
236views
Is it possible to disable the auto update on timepicker?
Im using angular-ui-bootstrap for user to enter a date, but this date is being inserted with the current date and i would like to remove this functionality, is this even possible? Thanks in advance ...
0votes
1answer
289views
put data from my json file in ui-bootstrap carousel
i want to my put http json files in slides.push(). so here i used ui.bootstrap.carousel , and i want to set image in my html . So how can i do it . can someone help me? .controller('...