Tagged Questions
0
votes
0answers
8 views
Date not being formatted when copied from one datepicker field to another
I've recently migrated from Angular 1.2.5 to the most recent version, 1.3-rc.3, and from ui-bootstrap 0.7.0 to ui-bootstrap 0.11.2, and some functionality in my code breaks.
I have two datepickers on ...
1
vote
1answer
16 views
Native Bootstrap vs Angularjs Bootstrap directive
I am migrating an existing web application to AngularJS. As the application is already using Bootstrap 3 I am wondering if it is worth re-writing it with Boostrap Directives. My current understanding ...
1
vote
2answers
30 views
Sorting with ng-repeat Angularjs
I have an array
$scope.answers=["","","",""]
means Array have multiple empty elements .
<li ng-repeat="item in answers "><input type="text" ng-model="item"/></li>
it throws ...
0
votes
1answer
19 views
AngularJS - Closing Modal Window
My includes are:
bootstrap.css [ getbootstrap.com/2.3.2 ]
angular/ui-bootstrap-tpls-0.10.0.min.js from: [ angular-ui.github.io/bootstrap ]
I am using AngularJS and Twitter Bootstrap.
From ...
0
votes
1answer
13 views
Removing items from an angularjs ui dropdown
I'm currently trying to dynamically remove elements from a angular-ui dropdown instance, but the dropdown contents seems to 'reset' to the element I want to remove.
Here's a plunker illustrating the ...
0
votes
0answers
23 views
UI-Bootstrap dynamic accordion than contains dynamic tabs
i'm trying to create a dynamic accordion than contains dynamic tabs.
i have succeeded to do so in bootstrap
Bootply
but i'm having trouble doing it in UI Bootstrap (AngularJS).
This is my code:
...
0
votes
2answers
16 views
Navigate to angular page template from bootstraps navbar dropdown
I'm building a web app with angular for the first time and have use the bootstraps css (angular ui). I'm using the navbar from bootstrap and route to ng-templates with ng-route. Everything works fine.
...
0
votes
1answer
13 views
Datepicker angular directive for Bootstarap: Showing only months and years
I am using datepicker from Angular directives for bootstrap. I want to show only months and years in the datePicker pop-up, but could not find a way.
I tried the similar approach of Bootstrap ...
0
votes
1answer
30 views
UI Bootstrap Carousel (with Bootstrap 2.3.2) not working when hide and show in AngularJS
I´m trying to use a Bootstrap 2.3.2 Carousel to display an item pictures. The user can get a list of items. When he clicks on a concrete item, some detailed info is displayed in the same view. The ...
0
votes
1answer
25 views
angular ui bootstrap datepicker is-open directive not working
i'm trying to use angularjs ui bootstrap datepicker on my project but same code i grabbed from example doesn't seems to be working properly when i dig in to code i have realized the problem is with ...
0
votes
1answer
21 views
Why aren't my check boxes binding in my bootstrap-ui angularjs modal popup?
I've got a modal popup which contains a list of checkboxes. The list of controls is generated dynamically from a list and the ng-checked property is bound to the Selected property in my list model.
...
0
votes
1answer
16 views
Angular Typeahead filter from more than one field
I have a typeahead that filters based on a person's name. My person object has more fields than just name (at least {name, surname}) and I want the filter to work based in name and surname.
This is ...
0
votes
1answer
37 views
ng-click doesnt work with angularui tooltip
i'm fairly new to angular and trying to show some html content inside a angular-ui tooltip. what i need to implement is something like a dashboard where users can click icons and go to different urls ...
0
votes
0answers
9 views
Actions from Bootstrap-UI Modal Window Template
I am trying to overwrite the windowTemplate in the Angular UI Bootstrap Modal, and adding side panes to allow for a static panel used for actions.
Plunkr Demo
Side Panel Button
<label ...
1
vote
1answer
30 views
Form Validation and disabled button
PLUNKER LINK
In above problem i have three radio buttons which let the user pay balance,minimum amount and other
amount.When user clicks on third radio button it opens up a div with input where user ...
0
votes
2answers
65 views
view more/less button to a unordered list of items for a book shelf and auto adjustment of shelf after every 6 books in a row
Hej Guys,
I am working on a book shelf container, using Bootstrap 3.0, i have something like this so far,
http://www.bootply.com/19NyAgMDED
here , i have hardcoded bookshelf with some books in it ...
0
votes
1answer
24 views
Pagination with textbox in between next and prev go to page number in Angular js table
I want angular js pagination with next prev button and in between i need a textbox to go direct to any page number in angular js table
please help me
0
votes
1answer
25 views
can't use resolve data in modal
Have problem sending data to modal with resolve.
I have this template:
<div class="split wrapper" ng-app="myApp" ng-controller="appCtr">
<script type="text/ng-template" id="tablesModal">
...
0
votes
0answers
31 views
Pass object to custom angular bootstrap ui tooltip
Im trying to pass and object to a custom angular-ui bootstrap tooltip component.
My code so far is a new directive:
angular.module('ui.bootstrap.korv', [ 'ui.bootstrap.tooltip' ])
...
-1
votes
1answer
36 views
How to style inside an AngularJS modal form?
I have an AngularJS Modal Bootstrap form working. How do I style the text inside the form? In the example below, I'd like 'Name' to be Bold. I've tried label, divs, ng-class but that seems to get ...
0
votes
0answers
26 views
Angular-ui: Is resolve the only way to pass scope to an angular-ui modal?
I have been using angular-ui with angularjs for a while now and have encountered a problem and subsequently a solution, but I want to know if this is a good way to do things. The original issue was ...
1
vote
0answers
11 views
bootstrap dropdown caret breakes in safari
I`m trying to do ellipsis on the dropdown from angular ui bootstrap and the caret keeps breaking down either on safari, chrome or firefox. Fixing one will break another.
I've made a plunker with it ...
0
votes
3answers
37 views
Can't access form values in a $modalInstance
I'm opening a $modalInstance in which user has to choose an option from radio inputs (values loaded dynamically) and return chosen value.
I have this function to open the $modalInstance:
...
0
votes
0answers
10 views
Merging two Angular bootstrap tabsets
I have two directives which contain a tabset with some tabs. I want a view where I want to see all the tabs in both directives in a single tabset. What would be the best way to approach this?
0
votes
1answer
26 views
Form Validation not working with ui-boostrap
I'm having a bit of trouble getting the form to run it's validation function. I have a plnkr. I Know I'm close... The validation file is loading in without errors. It's just not running the validation ...
0
votes
0answers
15 views
UI.Bootstrap moduler Uncaught error for version 0.9.0
I am currently trying to add a header to my html page by using 'data-ng-include' but I keep getting a "Uncaught Error: [$injector:modulerr] Failed to instantiate module agentOnlineApp" error. I have ...
1
vote
1answer
34 views
How can I pass a list as a parameter to a dialog?
Y must pass a list of data to a dialog to fill a combobox.
In other part of the code I passed a string to dialogs, but, using the same method for this case, It didn´t work.
Here is my js code:
...
0
votes
0answers
33 views
AngularJS - Cannot read property 'fieldName' of undefined when using $scope.formName.fieldName.$viewValue
We have a form on submission of which we show a modal dialog. The modal also contains a form, whose values i am trying to retrieve.
I can get the value using ng-model, but in case of validation ...
0
votes
1answer
14 views
ui-router: open modal on $stateChangeEvent
Some states in my app require further authentication. Eg a Edit state should prompt the user to enter a one time password.
I would be nice to solve this horizontally: attach metadata to the states ...
0
votes
1answer
33 views
Angular-UI-Bootstrap accordion not opening
My accordion's aren't opening up. I initially thought it was due to the ng-view as there have been many bugs reported. I tried both of these solutions but it doesn't seem like the a tag is causing the ...
0
votes
2answers
39 views
Ng-model does not update view
I have searched thoroughly everywhere and can't seem to find the solution to my problem.
I am trying to make a form to fill in to create new task object onto projects on the website like a scrum ...
1
vote
1answer
27 views
How do i check all my html contents are loaded in angularjs?
I am using angularJS 1.2.1 and angular-ui-bootstrap
In my code i have list of <ng-includes> from angularjs and <accordion> from angular-ui
But when i load the content i want to make ...
0
votes
0answers
15 views
Angular bootstrap.ui datepicker not popup
i'm trying to use angularjs date picker on my project as but seems to be functionality has been broken when i'm integrating date picker to my project
<div class="input-group">
<div ...
0
votes
1answer
29 views
Unable to render an angularjs template inside a popover
I am trying to get a popover show some html content (it could be angularjs compiled content) and when I click on my "View" link, I do not see my custom directive getting processed and showing ...
0
votes
0answers
31 views
Angularjs with bootstap alert - keep the alert on screen when scroll down
I'm using the example from
http://angular-ui.github.io/bootstrap/
<div ng-controller="AlertDemoCtrl">
<alert ng-repeat="alert in alerts" type="{{alert.type}}"
...
0
votes
0answers
30 views
unable to open a modal with angular and ui.routes
I am trying to follow this example to show a bootstrap modal on a certain state. It works fine without a modal (so the state config should be ok). All needed dependencies (ie angular bootstrap) should ...
-2
votes
0answers
25 views
Angular Quiz: Creating a Personality Quiz [closed]
I am new to Angularjs and would like to create a Personality quiz using this framework as its very Responsive and can easily achieve dynamic bits. I can not find any real examples of this. A basic ...
0
votes
0answers
11 views
Error Multiple directives [bar, bar] asking for template on when used custom directive and angular-bootstrap
I was trying to create a custom directive, and inside the template of my directive, I have included a directive of angular-bootrstrap library. In this case a popover directive.
When I run my app, ...
0
votes
1answer
19 views
Angular UI bootstrap: Type ahead select multiple
I am using angular UI bootstrap type-ahead directive for type-ahead in a form
http://angular-ui.github.io/bootstrap/
I am fetching the records from remote server via $http service. It is working ...
0
votes
0answers
36 views
Angular Pills with dropdown
I want to create pills in angular with a dropdown.
I have achieved this but the problem is that only the span or a is clickable and not the rest of the pill.
However if i click the pill it still ...
0
votes
0answers
30 views
Angular Boostrap datepicker
I'm not the most experience Angular developer and have recently tried to grasp my head around directives and how I can make them work.
In the following example, I've created a directive for angular ...
0
votes
4answers
101 views
Custom directive for telephone format using angularjs
I am trying to write custom directive for USA telephone number using angularjs and need to preserve the data type of the field as integer.Here is the jsfiddle directive and need help to complete the ...
0
votes
2answers
19 views
How to clear the field after typeahead selection?
Using ui.bootstrap after you select one of the options provided by typeahead how do you clear the value of the input?
http://plnkr.co/edit/yz4EtEJSTVekSemzxagC?p=preview
var app = ...
0
votes
0answers
12 views
How do we define the length of ui.bootstrap.modal… its always growing
How do we define the length of ui.bootstrap.modal... its always growing on Adding items to the UL.... I have added following CSS class too
windowClass: 'app-modal-window'
.app-modal-window ...
-1
votes
0answers
80 views
What should be order of loading <Script>
I am new guy for developing website.
Below is my script's loading sequence.
I am loading My project's required JQuery script first, then loading AngularJS scripts and finally my custom scripts.
...
0
votes
1answer
29 views
How to display an element with ng-show based on AngularJS Bootstrap UI Accordion state?
I've got a few dynamic accordions which based on $resource like so:
$scope.categories = $resource.query() // Written as such for simplicity sake
Then in my template I've got the following:
...
1
vote
2answers
81 views
Bootstrap UI Angular Accordion and Rails template must have one root element
I'm trying to use the example accordion directive in my rails app but receive the following error and my browser crashes
Template for directive 'accordionGroup' must have exactly one root element.
...
0
votes
1answer
24 views
How to handle big list of items in drop-down angular-ui?
I use angular-ui drop down
It works fine but I have no clue how to handle multiple item in drop down.
Consider following example in Plunker
HTML
<div class="btn-group" dropdown ...
1
vote
1answer
31 views
Cannot get typeahead-on-select working with Angular UI Bootstrap
See Plunker: http://plnkr.co/edit/hsxYC2KPsf7S3non34Cy.
HTML:
<input type="text" ng-model="result" typeahead="suggestion for suggestion in cities($viewValue)" ...
0
votes
4answers
93 views
ui.bootstrap modal loading html but not showing anything
Its loading opening modal and also loading template specified. But not showing anything.
Check out the demo here : http://demo.hupp.in/food-admin
Go to [Products] and Search EnegiKcal >= 3500. Then ...