All Questions
Tagged with angularjs-bootstrap javascript
34 questions
-1
votes
1
answer
917
views
Angularjs with bootstrap ui-datepicker
How to control datepicker object to call open/close method of datepicker.
how to get datepicker object in another angularjs directive.
** HTML **
<input type="text" class="form-control" uib-...
0
votes
2
answers
975
views
how to make border red if date is invalid in angular js?
I have a form in in which I have two field DOB , and marriage date .I want if marriage date is less than DOB I want to show red border .I am able to get if DOB is greater than marriage But I am not ...
0
votes
1
answer
2k
views
getting "read property 'length' of undefined" when try to enter date
could you please tell me why i am getting this error .
angular.js:12798 TypeError: Cannot read property 'length' of undefined
at parseDateString (VM651 ui-bootstrap-tpls-2.5.0.js:3037)
at ...
0
votes
1
answer
1k
views
How to call a function when angularjs accordion open only
Hi I am using angularjs ui bootstrap accordion. Here i want to call when user click on accordion call one function and get user
Here is the code please help me thnks in advance
$scope....
0
votes
1
answer
2k
views
Angular UI Modal: Inserting an Image into the modal body
I am very new to AngularJS and have to integrate the Angular UI bootstrap to an existing AngularJS application.
Inside the modal I have to place a screenshot and that's it. No unnecessary clutter. ...
2
votes
2
answers
9k
views
how to set min date in angularjs when using datepicker-options
I am trying to set the min start date.
I have tried using
<input id="StartDate" type="text" class="form-control" name="StartDate" datetime-picker="{{'yyyy-MM-dd HH:mm'}}" ng-model="vm.StartDate" ...
0
votes
2
answers
62
views
Modal in Angular $injector:unpr Unknown
I'm having this problem trying to use modals in angular
$modalProvider <- $modal <- User.Ctlr
Here's my app.js
'use-strict';
var App = angular.module('App', ['ui.bootstrap']);
Here's my ...
1
vote
0
answers
985
views
Reload AngularJS module without page reloading
I have some computations in myapp.config functions. They are performed when the page is loaded (or bootstrapped). I need to repeat these computations after that (e.g. after clicking a button or ...
1
vote
1
answer
761
views
Send selected typeahead option through typeahead-on-select
<input type="text"
class="topic_select"
id="selectTopic"
ng-model="topicsPopulate"
uib-typeahead="topic.name for topic in topics|filter:$viewValue"
uib-typeahead-...
1
vote
1
answer
2k
views
Bootstrap angular ui modal not updating or showing field data
So what I'm trying to do is get the data from the row data and display the properties of the object from that row onto the fields inside the modal view.
Also, when the submit button is pressed - The ...
0
votes
0
answers
75
views
div popup if button click not working
I have a button which on clicked shows a dropdown we are using bootstrap to show the dropdown on button click below is my code.
<div class="dropdown">
<button class="btn btn-primary ...
0
votes
1
answer
245
views
Angular.js $compile doesn`t working
I try to change all input type dates in project to uib-picker-popup, I use directive and $compile but new element doesn`t work. When I put result html to new .html its working fine, I guess there is ...
2
votes
1
answer
140
views
AngularJS and BootstrapUI - pass function and argument to BootstrapUI directive
I'd like to pass a function with to BootstrapUI's popover directive. The attribute is normally a string, but I need to do an AJAX call to supply the attribute to the directive. Currently, the popover ...
5
votes
2
answers
5k
views
How to make other directives work inside uib-tab elements
Is there a callback function for uib-tab directives I can use to refresh the inner directives after a tab has been rendered?
I am trying to find the source of an issue with a third-party directive ...
2
votes
3
answers
4k
views
Inject variables via ng-init to controller
I want to inject the same variables with different values multiples times to the same controller. This is what I tried. What is a way to get different values in each call?
HTML
<body ng-app="...