0
votes
1answer
10 views

Stuck with Angular-UI TinyMce

I'm trying to use the Angular-UI TinyMCE directive in my Angular app. What happens is, I query an endpoint, it returns an array of objects. I have a function that then converts that to a long string ...
0
votes
2answers
16 views

angular-bootstrap-ui modal size doesn't work

howto resize angular ui bootstrap modal on large size it looks that it doesn't work ? by the doc page it's enough to add size attribute ...
0
votes
1answer
15 views

How to bind a string variable to datepicker control instead of a date object?

I am using Angular UI datepicker in my project. The control has an option "datepicker-popup" which allows me to set up te format I want to display the date in. However the date is bound to my model ...
0
votes
0answers
14 views

run a custom function on the click of the image insert button : Textangular

I need to override the default functionality of the image insert button of the textAngular. I need to open a modal on the click of the same. How to do this?
0
votes
0answers
23 views

Ui router - nested view with modal box

I am trying to show a modal box based on the url using Angular ui. I have three states - home, setting, and modal based on the setting state. $stateProvider .state('home',{ url:'/', ...
0
votes
1answer
11 views

Angular-ui Bootstrap Tabs - Is there a way to prevent tab selection?

I am using Angular-UI Bootstrap tabs and would like to prevent tab selection during the select event handler. I have tried setting the tab.active to false and setting another tab.active to true, but ...
2
votes
2answers
36 views

Angular UI tooltip in ng-repeat not closing

Please see the plunker below: http://plnkr.co/edit/RPpjULZsSDnTFPKiafl2 Basically, the angular-ui tooltip remains when moving up / down to a position where ng-disabled is true. Any thoughts on how ...
0
votes
0answers
8 views

ngPluralize and Bootstrap tooltip

I would like to know how to use the ngPluralize directive along with the tooltip module from Bootstrap (the Angular UI fork)? The goal is to have a pluralized tooltip text... Thanks by advance. ...
0
votes
3answers
48 views

Lay out HTML elements depending on the number of elements

The issue is that I have to lay out from 2-4 html video elements, but the number is dynamic, sometimes can be 2, 3, or 4 elements. With 2 I will lay them out both side by side, 3 elements will be ...
-1
votes
1answer
19 views

Restrict user to enter/delete any alphabets

I am trying out the ACE Editor with AngularJS (using UI-Ace). I have a query. Can I restrict the user Not to enter any character except for a predefined char (say ;) Not to delete any character ...
0
votes
1answer
11 views

AngularJs ui-router state.templateUrl

I have an MVC 5 app with areas and I am trying to use the ui-router for AngularJs within one of my areas but I noticed that the templateUrl is wrong. It is trying to use a relative path but since I am ...
1
vote
0answers
18 views

How do I use jsonp with angular-ui calendar

I'm using angular-ui calendar to try and pull events from my API. The API is on a separate domain so I have to use jsonp. I've tried various ways to get this working but can't get the events onto my ...
0
votes
1answer
27 views

Is there a way to populate a angular-ui-bootstrap dropdown-toggle every time I open it?

I want to do a dropdown-toggle like the one that Facebook has for notifications. I need to populate a list of notifications on a dropdown-toggle every time I open it, with $http or $resource. I ...
0
votes
1answer
23 views

Setting options to datepicker in angular-ui bootstrap

I'm trying to use datepicker component from angular-ui bootstrap lib as descibed here: http://angular-ui.github.io/bootstrap/ And I try to set options for the popup picker and accoriding to the ...
0
votes
1answer
31 views

$observe not working in AngularJS

Cannot get the $observe to trigger anything on change. .directive('watchContent', function () { return { restrict: 'A', link: function (scope, elem, attrs) { console.log(attrs.class) ...
0
votes
1answer
12 views

Drag and Drop of list element where the only way to drag element is by an inner element

I have an row of elements that sortable. I use ui-sortable because it plays nicely with angularjs. I want the sort icon (up and down arrow) to be the only element that can initiate the dragging of its ...
0
votes
0answers
8 views

NgInfiniteScroll and Angular Mobile Ui

I'm trying to get AngularJS Mobile UI and NGInfiniteScroll to play nice but to no avail If I allow the window to scroll all is well and ngInfiniteScroll keeps continuously loading elements. However ...
0
votes
1answer
23 views

Angular UI Router resolve throwing provider error

I seem to be having an issue with Angular UI router and trying to add a resolve to a state. The weird thing is, that I have it in another place and it works fine. I'm separating my code out into ...
0
votes
2answers
29 views

Refactor Code duplication on angular js (any suggestions?)

Any suggestions on how to make my code cleaner and without code duplication?As you can see there are a lot of repetitive declarations. $scope.getStatistics = function(startDate, endDate) { var ...
1
vote
0answers
22 views

Highlight search result using angular.js and ui.utils

I am trying to add some highlighting of a search result using angular. I have found that the Highlight functionality in UI.Utils gives the result I would like. But the examples are all using ...
0
votes
1answer
26 views

How to generate html markup based in json property value in AngularJS?

I got json (model property) like this: [ {type:'a', val:'something'}, {type:'b', val:'something'} ] Based on value of 'type', i need to render different html markup. I know i can accomplish it via ...
0
votes
0answers
11 views

Select value from other or nested view

In my angular application I have an imagelibary. From my edit detail forms (example product our newsdetail ), i like to open this imagelib for selecting an image. So, in edit newsdetail -> select ...
0
votes
0answers
20 views

Angular TreeView Component with Nested Branch

I have model like this : [{ uniqueName: "[Account]", hierarchies: [{ dimensionUniqueName: "[Account]", levels: [{ id: "0", uniqueName: "[Account].[Account Number].[(All)]", ...
0
votes
1answer
31 views

Select Angular UI tab by url parameter

I'm using Angular UI tabs and would like to achieve two things First, the url should update when a tab is selected (bookmarkable). Second, I would like the correct tab to load based on the url. Eg. ...
1
vote
2answers
74 views

Angularjs nested routing and loading multiple pages within a view

I'm setting up an angularjs app that has multiple vertical columns that display on the same page and based on what item is clicked a new or different column will expand. Here's my jsbin example. ...
1
vote
2answers
39 views

In AngularJS, why would a directive require itself?

I'm trying to learn from the angular-ui code. I see that the btnRadio directive requires itself. I understand that directives may require controllers and then access them as an array in the fourth ...
0
votes
0answers
16 views

Angular ng-model with Angular-UI TinyMCE

I'm using TinyMCE and Angular to build a feature of an app I'm working on. However I'm a bit confused on how to implement a small part of it. I have a 7 column table that is populated from an Api ...
0
votes
1answer
46 views

ng-disabled in angularjs is not working for me

I'm trying to enable and disable the button using some condition I am able to disable the button using $scope.isDisabled = true; , but can't enable the button Here is my code HTML file <input ...
0
votes
2answers
37 views

how to show/hide children in an angulartreeview?

I am looking at the angular treeview (https://github.com/eu81273/angular.treeview) How to show/hide the children in the tree?Or do I just need to bind to a different model?
0
votes
1answer
52 views

Check for 401 then redirect Angularjs but only on certain routes

I've got a nice angular service that checks to see if a user is logged in by looking to see if the server returns a 401 error message. If it does, the user is redirected to a login page. This works ...
0
votes
2answers
35 views

How to update AngularJS view when the value has not changed?

In my view I diplay a photo from the user's profile, in my view I have: <img src="{{user.photo.pathRelative}}"/><br/> When user uploads new photo it is uploaded to the server and the ...
1
vote
1answer
28 views

Conditional ui-view

I have a ui-view defined in my root template <div ui-view=""></div>. Is that possible to automatically hide that view if it's content is empty? I was searching for similar thread for some ...
1
vote
1answer
23 views

Nested views without nested states

Following this tutorial: https://github.com/angular-ui/ui-router/wiki/Multiple-Named-Views, i'm able to create an application with multiple views defined in a root template. I need to modify that ...
0
votes
1answer
24 views

angularjs collapse + ng-if doesn't work ng-show works

I've got a button linked to a UI Bootstrap Collapse directive if I click on it the script show a form to reply a comment. when the form is showed I want to hide the button but I've got a strange ...
1
vote
0answers
56 views

Keyup/Keydown/Keypress events not firing in Internet Explorer 11

I'm using a mixture of JS key events and AngularJS to prevent the user from entering non-numeric keys in an input field (via a directive). While the following works in Firefox and Chrome, Internet ...
0
votes
1answer
33 views

I am able to query my api call, but i am not able to show it via angular

I have made an JSON api. I like to query this with angular.js. On my webserver i see the request comes in, and returns a status 200, so the data are called by angular. For some reason however, i am ...
1
vote
0answers
26 views

How to create a popover that listens to custom events

I am trying to create a popover that I can open and close with my custom events. I tried to follow this answer and create my custom popover using: .directive( 'myPopover', [ '$tooltip', function ( ...
1
vote
1answer
44 views

AngularJS Factory loading data on each click

Plunker There are a lot of files, so perhaps you Angular aficionados will understand my explanation, or be able to follow the plunker I've provided above. I'm creating a demo to modularize a ...
0
votes
0answers
14 views

Distinction between Angular controllers in filesystem vs controllers in Angular-ui-router

I am trying to keep all different providers (services, factories, services, providers) in their own file for a growing application. So the file system should look similar to this: www ↳ bower ↳ img ...
1
vote
1answer
43 views

Binding HTML to the scope in Angular UI popup

I'm using the Angular UI Bootstrap directive to show a popover which functions as a dropdown menu. If I specify a HTML template for the content (using the attribute popover-template) I can use ...
0
votes
0answers
5 views

When using a fixed template in angulatuibootstrap how do I access the tabs in code

Given that I am using angular js 1.0.8 (higher versions do not seem to work with http://angular-ui.github.io/bootstrap/ 0.10.0 When using the directives from the example like this <tabset ...
0
votes
1answer
20 views

angular-ui collapse isn't triggered in closed accordion

It seems the collapse expression is not being triggered inside a closed accordion. ng-hide however does work which is lacking the pretty animation of course. I made this plunker to show this. The ...
0
votes
1answer
20 views

Post request is not working in angularjs - Resource services

I'm trying to send the post request to server with post data it's sent the request to the server, but not in right format request url like ...
1
vote
1answer
25 views

Keeping track of UI State in an angularJS app

Intro: I'm working on a web app using ui-router, and using nested views/controllers. There are several UI elements across the app that need to communicate, and who's actions may be dependent on ...
1
vote
2answers
36 views

Pass argument from controller to service in angularjs

I'm facing the problem on passing the argument from controller to service module I don't know where I have pass the arguments in controller module and how to get the value in service module. here is ...
0
votes
1answer
28 views

call function in angular ui tooltip

Have used this code which invokes the user defined function : getTooltipText <i tooltip=\"{{ getTooltipText(arg1) }}\"> </i> .... //function definition $scope.getTooltipText = ...
0
votes
1answer
38 views

how to get headers from response in angularjs

This is my sample, i'm not get response headers, it returns undefined I'm trying to get custom response headers like reponse.header['X-auth-token'] but it returns undefined I'm new to angular js, ...
1
vote
1answer
107 views

How to Open and Close Angular-UI popovers programmatically

I need to create popovers that gets its content from the server. So I created the following directive: .directive('myPopover', [myService, function ($myService) { return { ...
1
vote
2answers
50 views

angular js application structure for large applications

I read a few articles about the directory structure for large angular js applications. So to my understanding it is a good thing to setup a modular structure. Within that modular structure you can ...
0
votes
0answers
43 views

Angular-UI-Calendar TypeError: Cannot read property 'length' of undefined

I'm getting this error repeatedly, although once the app fully initializes, it works fine. Environment: liveaddress.js jquery 1.10.2 jqueryui 1.10.4 angular 1.2.15 (base, -route, -cookies, -resource, ...