Skip to main content

All Questions

0 votes
3 answers
10k views

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('...
114 votes
5 answers
52k views

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', []) ....
8 votes
4 answers
13k views

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 ...
16 votes
11 answers
36k views

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....
0 votes
2 answers
153 views

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 ...
13 votes
7 answers
43k views

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
7 votes
7 answers
16k views

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 ...
1 vote
0 answers
357 views

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 ...
1 vote
1 answer
463 views

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 ...
-1 votes
1 answer
982 views

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 ...
2 votes
3 answers
3k views

$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 = ...
0 votes
1 answer
327 views

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 </...
0 votes
2 answers
368 views

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 ...
0 votes
1 answer
236 views

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 ...
0 votes
1 answer
289 views

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('...

15 30 50 per page
1
2 3 4 5
16