All Questions
503 questions
0
votes
1
answer
77
views
How to add function to this button
The button will only accept "$dismiss()". But I need it to accept any other function.
var modalInstance = $uibModal.open({
animation: this.animationsEnabled,
...
0
votes
1
answer
38
views
Angular.js (angular-ui) : "resolve" not returning anything in the child component
While trying to get data from the "resolve" object. I cannot get anything from what is found in the parent component.
Structure
partner-component
partner-list-component
Result
Parent code
...
0
votes
0
answers
202
views
Cannot resize inline Angular-UI Bootstrap Date-Picker
I'm using Angular-UI's latest Datepicker control, inline, and I can't figure out how to make it bigger so it takes up the entire page (or its container).
Has anyone attempted/achieved this desired ...
0
votes
1
answer
239
views
AngularJS UI-Bootstrap Modal Dialog gets covered by main.html
How can I use bootstrap modal dialogs with AngularJS using ui-bootstrap with angular-ui-router? I am new to AngularJS and tried searching the documentation without luck.
I have used this code but the ...
0
votes
1
answer
642
views
How to get recursive Tree view working AngularJs
Working on this AngularJs(1.4) code snippet and need help to get recursive tree view to work as desired.
It currently has 4 levels, and what is needed is:
When I open a folder, it should close all ...
0
votes
0
answers
54
views
AngularUI modal not showing
When i click on the button that should open the modal window, the page just blurs like it's going to open but nothing shows. I was thinking if there are problems with the versions i'm loading. I'm ...
0
votes
3
answers
600
views
How to bind active tab to last element of an array from scope
I'm trying to set uib-tabset active to my last element of an array. However, when I'm doing it uib-tabset is going crazy, it deletes it's own tabs. I don't want to own a scope field for active uib-...
1
vote
1
answer
398
views
Angular-UI Datepicker min-date setting with another date
When user inputs date range using angular-ui Datepicker, I wanna make mindate of EndDate set 'StartDate`.
in my view,
<div class="input-daterange input-group" id="datepicker">
<input type=...
0
votes
1
answer
834
views
ui.bootstrap.accordion not working with Bootstrap v4
I tried using the accordion from https://angular-ui.github.io/bootstrap/#!#accordion and after hours of trying and not getting the desired results, I changed the bootstrap version from 4.0.0 to 3.0.0 ...
0
votes
1
answer
551
views
Making div show outside Angular UI Modal
In this plunk I have an Angular UI modal with a div that's inside the modal, but since it has position:fixed I'm expecting the div to be outside and cover the entire screen. Why is it inside the ...
0
votes
0
answers
172
views
Watch functions accumulate when Angular UI modal is opened
I have the following code in a directive. The directive is included in an Angular UI modal:
var watchObjects = function(){
scope.vars.forEach(function(elem,i){
scope.$watch('vars['...
0
votes
3
answers
419
views
Variable in Angular Modal UI not watched
In this plunk I have an Angular Modal UI with a variable that is watched, however the watch function is not triggered when the variable is changed, what's wrong?
Javascript
var app = angular.module('...
1
vote
1
answer
5k
views
Setting the list width of Angular UI dropdown
In this plunk I have an Angular UI dropdown list with a maximum height for the selection list. This works fine, and the user can scroll through the list.
I also set the maximum width, as the list is ...
1
vote
0
answers
338
views
Match results by beginning of words with uib-typeahead
Is it possible, with uib-typeahead, to match results as long as what is being typed matches any word in a source array's item? For the location example used in the documentation, I'd like to be able ...
0
votes
1
answer
353
views
Show Angular UI Modal one second after opened
In this plunk I have an Angular UI modal that, when opened, it should be hidden for one second and then displayed. I use ng-show in the template itself, but that hides the contents, not the modal. How ...