Tagged Questions
0
votes
0answers
8 views
How to create an empty group in ng-grid
I know that ng-grid uses aggregation to group rows[1], so it's not officially supported.
Is there a nice workaround to create a header of aggregation without a row? Or way to use an empty row and ...
0
votes
0answers
14 views
Angular Ui bootstrap modal close event and internet explorer 9
I have an angular ui bootstrap project.
I have a list of items on page "#/list". Each has a link to "#/list/XY" (where XY is the id of an item).
The user clicks on the link - location change - and an ...
0
votes
0answers
22 views
How can I get angular-bootstrap typeahead to accept numbers with array elements?
I am trying to add ui.bootstrap-typeahead support to my angular application but I can't seem to wrap my head around one specific problem I'm having. I want to be able to input a number and a unit in ...
0
votes
0answers
23 views
UI Router not working with Angular not matter what
(angularJS 1.2.5 & ui-router 0.2.7)
Please help its 4 in the morning and its been 2-3hrs since i'm stuck with this, flipped the code multiple times but cudn't make it run.
In my index.html, I have ...
0
votes
0answers
21 views
AngularUI modal - displaying on page
I am using AngularUI 0.8.0 (with bootstrap 2.3) and trying to get a simple modal box to display.
Using the code below, when I press Open, the template and controller load, the alert is displayed, db ...
1
vote
1answer
21 views
AngularUI Select2 ajax: Selection not updating ng-model
I've recently updated a solution from Angular 1.2.0rc1 to Angular 1.2.5.
We're using AngularUI to provide Select2 ajax functionality for a dropdown. Before updating from Angular 1.2.0rc1, everything ...
0
votes
2answers
25 views
Getting Angular UI Calendar to work with UI-Bootstrap Tooltips
I am trying to display a tooltip on angular UI calendarEvent's mouse-hover. I managed to do this as explained in the following thread,
Tooltip for fullcalendar in year view
$scope.eventMouseover ...
0
votes
1answer
30 views
In AngularUI Router, do unresolved promise leak?
I am using angular UI router and I was wondering if anyone knew whether or not unresolved promises when using resolve would leak. Our use case is that in certain states, we needed to do some checks ...
0
votes
2answers
20 views
Angular function with ng-if rendering figure
In my showCtrl I have this
$scope.showTeam = function(){
var count = 0;
for (var k in subordinates) {
if (subordinates.hasOwnProperty(k)) {
...
3
votes
3answers
53 views
Deferring angular controllers until Ajax call is completed
First of all, I have googled and searched on SO for this question. None of the answers I've seen are really satisfactory for me. I am aware of resolve & manually bootstrapping angular and neither ...
0
votes
0answers
30 views
Routing conflict between HTML5 and angularJS
I'm new to angularjs and fell in love as soon as i knew about the concept.
So I had this app where using html and css i created the look of a single page app where I had linking between different ...
0
votes
3answers
27 views
multiple filters in angular view
I have this
<li ng-repeat="phone in (filteredNumber = (phones | filter : 'jason Raq'))">
this works fine and show me the name json Raq as filtered result but now I need two names . Jason and ...
0
votes
0answers
55 views
Angularjs: using $routeProvider and ng-controller at the same time
I use $routeProvider for 90%+ of my controllers, but am using ng-controller to attach controllers to angular-ui bootstrap html popover templates.
It works, but every controller I specify with ...
2
votes
2answers
28 views
background default image if ng-style image loaded is invalid url
I am adding background images to my div like this
ng-style="{'background-image' : 'url('+ myvariable.for.image +')'}">
where myvariable.for.image is a url like /examplesite/image/id
This works ...
0
votes
1answer
25 views
Getting state from URL string with Angular UI Router
I'm using state-based routing (Angular UI Router v0.2.7) in a project and looking for a way to get the current state (name) from a given URL string.
Something like:
$state.get([urlString]) returns ...
1
vote
2answers
34 views
css in angular not working
I am trying to have background image of a div injected dynamically. I see images getting loaded fine but the CSS doesn't change and div never get the background-image. what am I doing wrong
I have ...
1
vote
2answers
43 views
How to use Angular UI's Bootstrap DatePicker only when the browser does not support date inputs natively?
I want to use Angular UI's Bootstrap DatePicker, but for devices that support the date input type (e.g. iOS), I want to use the native Date Picker.
How can I do this?
0
votes
1answer
42 views
take the snapshot of page in textual format in angularjs app
If I have a webpage with content like this:
<ul>
<li ng-show="showthis">{{message1}}</li>
<li ng-hide="hidethis">{{message2}}</li>
<li ...
0
votes
0answers
21 views
Add scope property to angular-ui typeaheadPopup
I'm using angular ui bootstrap's Typeahead directive and I want to add a property to the scope of the typeaheadPopup like so:
.directive('typeaheadPopup', function () {
return {
...
0
votes
1answer
26 views
AngularJS. Clear $timeout when invoking angular-ui modal
I have several $timeout expressions in Modal controller
App.controller('ModalCtrl', function ($scope, $timeout) {
for (var i = 0; i < 10; i++) {
(function () {
var timer = ...
0
votes
0answers
25 views
Blurring off tooltip on Click in Angular
I am using $tooltipProvider. It's currently applied to a drop-down menu.
When the user moves the cursor to the dropdown-menu-header it shows the tooltip but when the user clicks on the ...
7
votes
1answer
61 views
AngularJS, animations with ui router which versions work?
There have been some incompatibilities with ngAnimate and ui.router since the release of Angular 1.2.
Which versions of Angular, Angular Animate and Angular UI Router work together?
1
vote
2answers
35 views
Angular, Select, Set Default
I know this has probably been asked multiple times, but I feel like I am doing everything right, but I can't seem to set the default option for a select using AngularJS.
I'm using:
AngularJS, ...
0
votes
1answer
56 views
Typeahead plugin in angular-bootstrap not working for me
I can't get typeahead feature in angular-bootstrap to work in a simple yeoman-generated environment. What I'm expecting is to be able to start typing into an input field and have a dropdown show ...
0
votes
1answer
27 views
Loading AngularUI templates from other location
At the moment AngularUI is loading templates from this location:
template/tabs/tab.html
I am trying to use another location. I can load the templates from inside a JS file, but I don't want to keep ...
0
votes
1answer
24 views
Display autocomplete list into a angularjs modal directive, list is ok but display not
I expect to display jquery autocomplete list into a angularjs modal within a directive.
I handle to display the list but it is displayed behind the modal.
See demo
Thanks
0
votes
1answer
50 views
How to remove deleted row in ng-table
I have a grid developed using ng-table and I need to remove selected item from grid table after removing from server-side. Already tried to call the grid loading ajax again, but it's not working.
My ...
0
votes
0answers
21 views
How to get full object of a AngularUI typeahead using asynchronous results
This is my angular:
<input type="text", ng-model="asyncSelected", typeahead-on-select="selectMatch($item, $model, $label)", placeholder="Search customer", typeahead="address for address in ...
1
vote
1answer
64 views
How to close/open angular-ui bootstrap accordion programatically - within the js file
Firstly, a similar question has been answered before, however the aforementioned does not resolve my issue.
I'd like to - from within my js, not within my html - be able to close the current ...
0
votes
1answer
27 views
Showing multiple modals in a loop
I'm using Angular UI Modals (http://angular-ui.github.io/bootstrap/#modal)
I have to show the same modal, multiple times in a loop.
For example I have a team, and I need to show the edit team member ...
0
votes
1answer
65 views
Angular-ui pagination in nested states
I have been strugling with this issue for some time.
I have a state (using ui-router) "videos", in this, I have pagination using angular-ui. Then I have a state "videos.lectionvideos" which is a child ...
0
votes
1answer
23 views
Need a Suggestion on jQueryUI or angularUI [closed]
I am making a webpage using angularJS. I need to include a datepicker. Can I use jQuery UI (include jQuery too) for this or Should I use angularUI ?
1
vote
1answer
25 views
Angularjs ui:sortable in ng:repeat not behaving as expected
I'm trying to make a drag-and-drop editor for the values of an HTML <select> menu, with <optgroup> grouping.
I've been working in a JSFiddle; here's what I have at the moment. It ...
1
vote
1answer
43 views
load parent scope before child scope using angular ui
I am using angularjs and the angular ui router to load nested templates. The child's controller inherits the parent's $scope for it's contents. This is all working fine except when I try to load the ...
1
vote
1answer
64 views
AngularJS: Can't get access value of isolate scope property in directive
Problem:
In a directive nested within 3 ui-views, I can't access the values of my isolate scope. scope.values returns {} but when I console.log scope I can see all the values on the values property.
...
0
votes
1answer
43 views
angular-ui > ui-utils > ui-scroll does not work (v. 0.1.0)
I am using this: http://angular-ui.github.io/ui-utils/ and to be more specific this:https://github.com/angular-ui/ui-utils/blob/master/modules/scroll/README.md
however it does not seem to work. Here ...
0
votes
0answers
35 views
How to set prevous-text and next-text attribute as HTML template in angular-ui bootstrap pagination directive
I'm going to use http://angular-ui.github.io/bootstrap/#pagination
I need to set 'previous', 'next' indicators as html.
something like:
<pagination
previous-text="'<span class="glyphicon ...
0
votes
0answers
37 views
Display AngularJS TreeView collapsed
I am using angular tree-view. I am referring below url.
http://ngmodules.org/modules/angular.treeview
It is displaying as expanded. but i want to display as collapsed. when the node is clicked then ...
0
votes
2answers
35 views
AngularJS UI Typeahead label and value
I am using the typehead directive to autocomplete a list of states.
The list contains a bunch of objects as follows
{
StateId: 0,
StateCode: "AK",
StateDesc: "ALASKA"
}
The typehead HTML is ...
0
votes
1answer
30 views
Error when creating a decorator for ui.bootstrap.modal - modalWindow
I'm trying to decorate the modalWindow directive from the ui.bootstrap.modal module.
Here is my code:
angular.module('ui.bootstrap.modal').config(function($provide){
...
0
votes
1answer
54 views
AngularJS UI ng-grid not painting content text & blank when used inside directive
I am developing one SearchAndSelect control (AngularJS directive) which contains it's own ng-grid, slider page. Everything is working, data is being fetched, number of rows are coming to the grid, but ...
0
votes
0answers
38 views
Ui-Router and purposeful transition to the same state
I was wondering about going to the same state in ui-router and the best way to approach this. In my state transition I have it set up like this:
.state('newstep',{
url:'/step/:stepnumber',
views: {
...
0
votes
1answer
54 views
ng-grid Event for Selection checkbox on header
I am using ng-grid of AngularUI-Grid, and having a checkbox for row selection. It gives me a checkbox in header too.
If user selects checkbox in header, I want some event/method to trigger in ...
0
votes
0answers
46 views
How to open a child grid (popover with html) from within an ng-grid?
I am looking for advice on how to open a new 'child' grid from a row (plus sign) that has the top-left corner positioned at the plus-sign. I have tried adding a div and some html to see if this was ...
0
votes
0answers
80 views
Angular JS modal dialog + wizard
I need to develop a modal dialog & wizard that asks a bunch of questions, with CSS transitions.
Angular UI provides Modal & Carousel which looks great. The problem is my existing code is not ...
0
votes
1answer
47 views
How to change class depending on filter result in AngularJS?
I cannot work out how to change the style of a class depending on the status/result of the filter. My code:
<div data-ng-if="search.length >= 3" >
<div ...
0
votes
1answer
53 views
Pass argument to $http get through Angular UI Modal
I have a list of details, when a user clicks an icon I want it to open a modal that pulls more data on that specific facet. I'm using Angular UI's Bootstrap Directives.
My current controller looks ...
0
votes
0answers
54 views
customize angular-ui typeahead
I would like the typeahead popup to show a loading animation dependent on if some custom loading is being done in my controller.
My view:
<input type='text' typeahead="..."
...
0
votes
1answer
33 views
angular js error- 10 $digest() iterations reached. with angular ui Drop down
I am using angular ui drop down element
<div class="dropdown" >
<a ng-click="getTypes();" dropdown-toggle> Add a Type</a>
<ul class="dropdown-menu">
...
0
votes
0answers
37 views
Angular ui typeahead from an array of objects - how to get the select value
I'm using typeahead angular bootstrap which is a very neat directive, but I'm encountering a difficulty to get the select value when using it with an array of objects (needed for a custom template ). ...