All Questions
57 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', [])
....
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 ...
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?
15
votes
2
answers
20k
views
how to make ng-model value set by ui-select value
I am currently using angular-ui/ui-select in my project. I am able to bind the value of the ui-select to an object without issue, however it is binding the entire item that is being iterated over. I ...
11
votes
4
answers
3k
views
Datepicker-popup formatting not working when value set initially in scope
I am using the Angular UI bootstrap date picker popup using this custom directive on Plunker (http://plnkr.co/edit/053VJYm1MpZUiKwFTfrT?p=preview):
//Module
var userModule = angular.module("...
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&...
15
votes
1
answer
29k
views
Modal confirmation as an Angular UI directive
I'm trying to make an Angular directive with angular-bootstrap to mimic the confirm() function.
Here is a plunk showing the visual result and behavior I want to achieve : http://embed.plnkr.co/...
2
votes
1
answer
3k
views
How to return results from a $uibModal to parent controller
scope is undefined after callback from $uibModal
I have a directive (Angularjs) that has a controller, from there I am calling an uibModal where I want to modify some details of an object where I ...
-1
votes
2
answers
2k
views
How to search using tags in angularjs
I wanted my search box to search using tags which I have illustrated below with the image. I have tried using bootstrap tags it doesn't work for me.
This is how my search should look like
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 = ...
5
votes
2
answers
30k
views
How to get angular ui-router's ui-sref to work, when inside a directive's template?
Basically, I am trying to change/customize the behaviour of the ui.bootstrap.accordion. All is working, except for integration with ui-router.
Here's the way I want to use the accordion:
<...
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 ...
0
votes
1
answer
1k
views
Angular UI - Watch value from input in Popover Template
I'm trying to create a directive which uses the Angular Bootstrap Popover, which contains an input. Everything works fine, except the watch is not triggering.
Here is a Plunker.
The directive looks ...
1
vote
0
answers
499
views
In AngularJS validation, I want to display error message with ui-bootstrap tooltip
environment
AnuglarJS 1.6x
ui-bootstrap2.5
I want to display error messages with tool tip on validation with AngularJS.
I am referring to the directive created by the following jQuery and bootstrap....
5
votes
1
answer
4k
views
Dynamic content hidden in Angular Bootstrap accordion
I have an accordion that renders dynamic content. My app does not include ngAnimate as animations are not wanted by the client. However, I am seeing an issue where dynamic content is hidden when ...