Skip to main content

All Questions

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', []) ....
Kyle Cureau's user avatar
  • 19.4k
0 votes
4 answers
3k views

angularjs share data config between controllers

I'm wondering what could be a good way to share directive between controller. I've got ie two directives to use in different controller with different configuration the first think I thought of using ...
Whisher's user avatar
  • 32.8k
20 votes
5 answers
45k views

How to show form input errors using AngularJS UI Bootstrap tooltip?

For example I have the form where I am showing form input errors. I need to show red badge (with 'hover to show errors') near input label if there are some errors. If user will hover this red badge - ...
webvitaly's user avatar
  • 4,281
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....
Adarsh Konchady's user avatar
39 votes
10 answers
42k views

AngularJS UI Bootstrap Tabs that support routing

I would like to use AngularJS UI Bootstrap Tabs in my project, but I need it to support routing. For example: Tab URL -------------------- Jobs /jobs Invoices /invoices Payments /...
Misha Moroshko's user avatar
19 votes
7 answers
16k views

using ui.bootstrap causing issues with carousel

I am having issues with getting the carousel working properly. I used yeomen to scaffold the angular app. I am getting this error Error: [$compile:ctreq] Controller 'carousel', required by directive '...
Asim Zaidi's user avatar
  • 28.4k
15 votes
5 answers
12k views

how to show html on pop over using angular ui bootstrap?

I make demo of pop over like this .It show a pop over on right side when I click the button .But now problem is that how I will show some html on pop over . <html ng-app="plunker"> <head&...
Shruti's user avatar
  • 1,574
15 votes
3 answers
20k views

Angular JS render JSON in tree like format

How do I render JSON in tree like way just like http://jsonviewer.stack.hu/ does using angular JS?
Bourne's user avatar
  • 1,937
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
user1424508's user avatar
  • 3,301
8 votes
2 answers
27k views

AngularJS/UI Bootstrap - fading out alert on remove

I am using Angular with UI Bootstrap. I've created the custom directive that pushes broadcasted alerst into the array of alerts that are bound to the view (rendered as Bootstrap alerts). After the ...
alexs333's user avatar
  • 12.6k
6 votes
3 answers
5k views

angular-ui IE8 accordion

Using the Angular-UI bootstrap accordion in IE8 the tabs do not expand. Here is the error I am receiving using IE 8's F12 Error: Unexpected call to method or property access.undefined Error: No ...
Logan W's user avatar
  • 1,377
0 votes
1 answer
2k views

How to execute a sequence of events in Angular using $timeout

I have a div in my view, I want to execute a function on ng-click() which turns the background for the div to 'color a' for 30 seconds if there's no action taken then for 60 seconds then change to '...
SinSync's user avatar
  • 488
50 votes
8 answers
14k views

How to create an angularJs wrapper directive for a ui-bootstrap datepicker?

I am using the ui.bootstrap.datepicker directive to display some date field. However most of the time I need the same setup: I want it to come along with a popup and a popup button and also I want ...
yankee's user avatar
  • 41k
16 votes
4 answers
11k views

wrapping inputs in directives in angular

I had the idea to wrap inputs into custom directives to guarantee a consistent look and behavior through out my site. I also want to wrap bootstrap ui's datepicker and dropdown. Also, the directive ...
roemer's user avatar
  • 537
12 votes
1 answer
27k views

Angular-UI-Bootstrap custom tooltip/popover with 2-way data-binding

I am using angular-ui-bootstrap in my current project, and I have a requirement for a popover that will allow the user to take some action on a given element (rename/edit/delete/etc...). Since angular-...
grailian's user avatar
  • 720

15 30 50 per page