Skip to main content

All Questions

0 votes
1 answer
3k views

how to select default value of ui select?

could you please tell me how to set default value in UI -select . here is my code http://plnkr.co/edit/tCrEM4oC9iMSYZffbEAX?p=preview I want "Adrian" should select as by default .could you please tell ...
user944513's user avatar
  • 12.8k
2 votes
2 answers
7k views

how to select value in UI select value?

could you please tell me how to select value in UI-select value ? Actually when user select any name I want to select age of item .Here is my code http://plnkr.co/edit/InxOyQRjrlrDJtx2VuzI?p=preview ...
user944513's user avatar
  • 12.8k
1 vote
4 answers
2k views

ui.bootstrap.datepicker is-open not working second time

I am using ui.bootstrap.datepicker , for first click it is working and second click onwards it is not working. I used many options like is-open='$parent.isOpen' and ng-model="$parent.date =" and $...
user3319802's user avatar
1 vote
1 answer
1k views

Angular - bootstrap modal inside ng-repeat - how to update data on the main scope?

I am using ng repeat to display a table, the table contains an 'edit' button that opens a modal. Once the data is updated in the modal I dont know how to get the modal scope data back to the main ...
Don F's user avatar
  • 13
1 vote
3 answers
809 views

Not able to load $http.get - JSON data in ui tabset child tabs

I tried to load a dropdown with the response got from http post. But its failing to load on child tabs. When i click next button from tab1. I make a post call and get a JSON back. Using the returned ...
venkatesh shanmuganathan's user avatar
2 votes
1 answer
1k views

Tabset $rootScope scope not updating

I've a screen in below structure. UserExperienceScreen <tabset> tab 1 - <controller> <form> - input fields - form submit - go to tab2 tab 2 - <...
venkatesh shanmuganathan's user avatar
1 vote
1 answer
2k views

How to pass data into an angular.js UI bootstrap modal controller

Using Angular.js UI bootstrap modal, how can I pass data into a modal popup's controller? I am currently trying: var modalInstance = $modal.open({ templateUrl: 'partials/confirmation-modal.html', ...
Justin's user avatar
  • 45.5k
1 vote
1 answer
212 views

How to communicate between directive (tree component) and any other controller or directive in AngularJS app?

First of all, I have read so much info you all share about communication between controllers, that I'm now so confused about the BEST way to do it. I understand I should use service, but don't really ...
Aviv M's user avatar
  • 328
0 votes
1 answer
204 views

Problems with ng-router and anchor tab

MyApp.config([ '$routeProvider', function($routeProvider) { $routeProvider .when('/getAttributes', { templateUrl : 'view/attributes.jsp', controller : 'attributeController' }).when('/mainMenu',...
Hero's user avatar
  • 647
0 votes
1 answer
807 views

Angular how to get route id at resolve block?

How can i get "pageid" inside resolve block? For every url change i had to request the server, along with the "pageid"? My code: app.config(function($routeProvider){ $routeProvider .when(...
user1881367's user avatar
0 votes
1 answer
1k views

Angular UI Bootstrap - Collapsing tab content

Using the AngularJS UI Directives for bootstrap, is there any way to collapse the tab content using the tag? I have several tabs/pills with content, which will start collapsed (hidden). When any of ...
DanTheMan's user avatar
  • 556
3 votes
3 answers
3k views

How to call controller function from directive?

how to call controller function from directive? or howto access directive ng-model from controller? eg. I use angular ui bootstrap time component and when time change I need to notify calling function ...
mark small's user avatar
0 votes
1 answer
98 views

Need to $watch property from within an accordion (Angular-UI) but won't work

We're building a page with Angular, Angular-UI and UI-Bootstrap. The last one includes a directive for accordion, which simplifies a quite repetitive task of building up an accordion and an accordion ...
Anderson Matos's user avatar
2 votes
1 answer
13k views

Show and Hide Alert Using AngularUI Directives for Bootstrap

Am a newbie in the field of web design. I came across bootstrap and later angularjs. I find them quite impressive. I noticed that bootstrap comes with its own jquery libraries and angularjs uses its ...
Adwin's user avatar
  • 195
8 votes
2 answers
2k views

Access to form controller hidden due to angular ui tab isolated/inherited scope

I have a simple case: <div ng-controller="myController"> <tabset> <tab> <form name="myForm"></form> </tab> </tabset> </div> and now, ...
dragonfly's user avatar
  • 17.8k

15 30 50 per page