0
votes
1answer
16 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
27 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
26 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
1answer
45 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
0answers
36 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
29 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
31 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 ). ...
0
votes
0answers
22 views

ui-codemirror placed within custom directives fails without an error

I am trying to use ui-codemirror angular directive from code mirror angular library and the use case is that I have to place it within a custom directive . But when I place it within a custom ...
0
votes
0answers
67 views

AngularJs add animation to ng-swipe

i'm facing a real challenge here :) Adding animation to ng-swipe operation, i have line that i'm swapping, i want it to slide-left or slide-right then the new line will be appear instead, currently it ...
3
votes
1answer
53 views

angularjs text area character counter

Hi I have a characeter counter for a text area. My problem is that it doesn't count spaces or linebreaks. How do I make it so that it does so? <div class="controls"> <textarea ...
0
votes
1answer
58 views

angular-ui dropdown-toggle [object Object] has no method parent

I've got a problem employing angular-ui Bootstrap in my project. Namely dropdown directive. By now i have HTML that is just a copy-paste from the examples: <ul> <li class="dropdown"> ...
3
votes
1answer
50 views

How to Dynamically add Direcitves angularjs

I have successfully Added an angularjs directive into another directive using this code var newElement = $compile( "<div my-diretive='n'></div>" )( $scope ); $element.parent().append( ...
0
votes
1answer
50 views

using element.AddClass to add an angular js directive, which is restricted to act as a 'class'

I made a directive in angular js restricted it to act as a class and this directive makes my element drag-able. On mousehover i want to do addClass and add this directive which is supposedly a ...
0
votes
2answers
25 views

Angular UI Bootstrap, how do i do typeahead on an array of objects in AngularJS?

http://plnkr.co/edit/VSA1gVEixxis7utvAoQr?p=preview I get that "state for state in states" works because it's just an array of Strings. I'd like to loop through an array of objects shown in ...
4
votes
2answers
97 views

How do I use angularjs directives in generated d3 html?

I'm trying to use the angularjs tooltip directive on my d3 visualisation, so I have something like var node = svg.selectAll(".node") .data(nodes) .enter().append("circle") ...
1
vote
1answer
38 views

Load value from db on rendering directive template

I am stuck in a doubt I have html : <div ng-repeat="mydata in data" class="ng-scope ng-binding"> <p class="ng-binding">{{mydata.postdata}}</p> <div my-rating ...
0
votes
1answer
67 views

Wrapping angular typeAhead in separate directive

My goal was to wrap angular-ui typeAhead directive into easily re-usable component, that could be used like this: <input my-person-lookup="myModel.personId" ></input> I've achieve this ...
0
votes
1answer
36 views

Wrapping angular-ui-typeahead breaks the on-select callback

I'm trying to wrap AngularUI's typeahead directive with my own directive so I can package up some shared data/behavior for easier reuse in my app: Plunker In the onSelect callback, why does the ...
0
votes
1answer
151 views

Create Hoverable popover using angular-ui-bootstrap

I have the following code for creating a popover in my template file: <span class="icon-globe visibility" id="visibilityFor{{post.metaData.assetId}}" popover="{{post.visibilityListStr}}" ...
1
vote
0answers
57 views

In Angular JS, can we use ng-controller twice? [closed]

I' am trying to develop an web application using Angular JS. I' am trying to create two Angular JS controllers in the same page but things seems to be not working. Please can someone tell me where I ...
0
votes
2answers
56 views

Need a callback after filtering the rows when using ng-repeat along with filter in angularjs

I am using angularjs, ng-repeat to fill the required data in the datagrid. Something like this: <input type="text" placeholder="Search" ng-model="query"> <tr ng-repeat="item in items | ...
2
votes
1answer
116 views

ui.bootstrap.datepicker is-open not working in modal

I´m using the Bootstrap UI datepicker directive and I´m trying to have an datepicker button that opens the datepicker popup like in the original example but it does not work in a modal window. See ...
0
votes
1answer
57 views

jQuery plugin is not rendered after angular js

I am writing a simple tabs application, I used angular js directive to to call the jquery tabs plugin, but the view is not updated properly and I do not see the tabs. ...
9
votes
1answer
268 views

Wrapping the angular-ui tabset directive and encountering the “Multiple directives asking for transclusion/ isolated scope” errors

I'm trying to extend the angular-ui tabset functionality and I'm running into issues with wrapping it. This plunker is the tabset directive un-wrapped: ...
0
votes
0answers
33 views

In template of the directive i had added the click event which was handling in the link .But the issue is that the function is calling two times

this is my directive .IN this i had added the ng-click for the li with the display of the item name but the function is calling for two times .Any one can you please explain it was happening .below ...
0
votes
0answers
18 views

AngularUi tinyMce setup

How can I setup the toolbar of tinyMce editor? I'm usin angularUi directive. I'd like to show only a simple toolbar with text formatting like "bold,italic". Here's a ...
0
votes
2answers
78 views

Calculate mathematical expression within string in angularJS

How do I evaluate the mathematical expression within a string and assign it to a numerical value in angularJS? Eg: var value = 10; var someValue = "Math.min(value * 0.22, 106800)". I need someValue ...
0
votes
1answer
40 views

Applying math rules (like rnd, max etc) to value entered by user using AngularJS directive

I have sum calculation rules defined as below, where 2013 represents the year and 5 and 6 are some codes sent over to the program: app.run(function($rootScope) { $rootScope.MATHRULES = { ...
3
votes
1answer
208 views

Customising behaviour - toggle class- popover - Angular UI bootstrap

I'm wanting to add active classes to elements when various Angular UI directives are called. For example when I call the popover i'd like to highlight the element (which in this case is a button). I ...
0
votes
1answer
85 views

Multiple YouTube players, in a tabbed angular-ui control. Want to add collapse

I guess my question is two parts: 1. Since I am new to angular and have never used the YouTube JavaScript API, I am sure that I am doing a bunch of things wrong. I wouldn't know because the code ...
0
votes
1answer
194 views

How do i filter a row based on any column data with single textbox

I am using ng-table. I tried to use filter given in the example, but for filtering each column i need to have separate textbox. But what i tying to achieve is, One textbox to search any row based ...
0
votes
0answers
87 views

How to make AngularJS slider work with angular ui tabs?

I would like to add a AngularJS slider (http://prajwalkman.github.io/angular-slider/) inside of a angular ui tab (http://angular-ui.github.io/bootstrap/#/tabs). However, the slider does not work when ...
0
votes
1answer
164 views

AngularJS Directive for decimal numbers between 0 and 1

I want a directive in AngularJS which should allow decimal numbers between 0 and 1. In addition, it can allow "-1" as well. For eg: -1 is valid 0 is valid 1 is valid 0.12 is valid 0.99 is valid ...
2
votes
1answer
122 views

Do event handlers need to be removed on directives when $destory fires?

I've seen a lot of directive examples including those by the AngularUI team where they don't appear to do any cleanup. Here's an example from their ui-date directive which creates a jQuery ...
1
vote
2answers
914 views

How to format inital date value using AngularJS ui-date directive?

When I get a model from the server it looks like this: $scope.m = { name: "John", Dt: "2013-10-03T18:47:33.5049087-07:00" }; The view looks like: <input title="Date" ui-date ...
2
votes
2answers
1k views

Angular ui.bootstrap pagination - current page not updating/watch not working

I have a pagination inside a dialog both directives are of ui.bootstrap. The problem is that the $watch is not working for currentPage member. Now, the similar code works perfectly fine for other ...
0
votes
0answers
70 views

In angular, how can I change the view after certain seconds?

I have my current view as so: <div class="television-container"> <div class="screen" ng-controller="TelevisionScreenController" ng-include = "currentChannel"></div> <div ...
0
votes
1answer
173 views

Angular-UI tooltip messes with keypress event?

I 'm using the following directive to listen to enter keypresses on an input element: .directive('ngEnter', function () { return function (scope, element, attrs) { ...
0
votes
2answers
109 views

AngularJS tagging directive like StackOverflow's tagging system [closed]

any suggestion how to create the same auto-completion feature that stack overflow uses for entering tags? I just have seen solutions using jquery but any soild alternative for angularJS? update:
0
votes
2answers
202 views

scope.$eval() returning old value

I've got a form with two date values. I want to validate: date one must be lower than date two. I want to do a directive to manage this. So, I named my directive lowerThanDate and I'm using it into a ...
0
votes
1answer
154 views

In Angular, directive that compiles template with ui-sortable, run twice with connected lists cannot drag-drop between both lists

I have a custom Angular directive, which uses ui-sortable in the template. Originally I could not get it to recognize the ui-sortable, but now it works based on How do I include other directives in ...
2
votes
1answer
77 views

Persist GoogleMaps map object between views in AngularJS

I have decided to use AngularUI Map plugin to render Google Maps map within one of my views. The template looks like this: <div id="map"> <div ui-map="map" ui-options="mapOptions" ...
0
votes
1answer
95 views

How to share data exclusively between a directive and a factory in AngularJS?

I want to build a modal directive with an Async API to open the modal. What I was thinking about is a factory that returns me the API object that manipulates the modal directive. Using Angular-UI ...
0
votes
1answer
107 views

angular-ui bootstrap controls with images of prev and next slides

I use angular-ui bootstrap carousel directive with Bootstrap 3 support. Instead of arrows on next and prev controls is it possible to use images of next and prev slides. Is it possible to use ...
2
votes
2answers
884 views

AngularJS/UI Boostrap - fading out alert on remove

I am using Angular with UI Boostrap. I've created the custom directive that pushes broadcasted alerst into the array of alerts that are bound to the view (rendered as Boostrap alerts). After the ...
0
votes
0answers
50 views

Modularization in angularjs

How I can manage the modularity in agularjs activating or disabling modules depending of type of user. Are there a pattern design that could use by that? Thanks by your answers.
0
votes
0answers
48 views

ui-date day start TO day end

i use ui-date (https://github.com/angular-ui/ui-date) in my project. i have problem with changing options realtime in controller. HTML page <input ui-date="startOptions" ng-model="dateStart" ...
0
votes
1answer
182 views

Wrapping an angular-ui directive

I'm trying to create a wrapper around the tab angular-ui bootstrap directive. My custom directive is; myMoudule.directive('tabWrapper', function() { return { restrict:'AE', ...
2
votes
1answer
580 views

AngularJS and Directive Scope with Template not populating

I am having issues working with direvtives and their scope. I've created a directive for getting all the members of a site and put them in a div, like so: EngagementApp.directive('siteMembers', ...
0
votes
1answer
212 views

AngularJS - sortable tabs

I wanted to create sortable tabs using uiSortable directive (https://github.com/angular-ui/ui-sortable) and tabs from AngularUI bootstrap (http://angular-ui.github.io/bootstrap/). Important thing for ...

15 30 50 per page