0
votes
2answers
45 views

AngularJS and AngularUI: mask or format a phone number when binding

I am using AngularUI to format or "masking" a phone number input, and it works fine with a ng-model: <input ng-model="emer.phone" ui-mask="{{'(999) 999-9999'}}" type="text"/> Question: But ...
0
votes
0answers
15 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
40 views

set angular-ui-tinymce editor content after navigation

I'm using angular-ui-tinymce (latest version 0.0.4, https://github.com/angular-ui/ui-tinymce/blob/master/src/tinymce.js). I've encountered a problem I cannot solve. On the first page load, content ...
-2
votes
1answer
32 views

How to nest data with ng-grid [on hold]

After running through ALL the examples, I guess my only choice is doing a custom template based somewhat on this example , although not every row will have children. Does anyone have any ...
0
votes
1answer
28 views

Angularjs ui modal windows with timepicker

I am trying to add a timepicker and a datepicker on a modal window and feels like the mytime model doesn't update. You can see it in the alert windows. Can someone give me a hint. When I do a output ...
2
votes
1answer
52 views

AngularJS/UI/Bootstrap remove affix from an element?

I am using AngularJS 1.2 and Bootstrap 2.3, although I think it is irrelevant that Angular is involved since this is just jQuery. I want to be able to turn the affix on and off for a particular ...
0
votes
0answers
23 views

Define the onEnter and onExit callbacks in another file with Angular UI Router

I have a simple application using Angular UI Router with some states. Actually I have this kind of code in my router : $stateProvider.state('map.layers', { url: '/layers', templateUrl: ...
0
votes
1answer
29 views

How to target specific ui-view inside ng-repeat (or do this differently)

I'm new to angular and have run into a very basic problem <div ng-reapeat="thing in things"> <div class="title">{{thing.title}}</div> <div class="more-text" ...
0
votes
0answers
19 views

AngularJs tinyMce cannot insert link

I'm trying to insert a link using tinyMce editor in angularjs. The problem is that I want prevent the use of all html tags and want allow the use of limited tag. This is an example: ...
0
votes
0answers
12 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
32 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 ...
2
votes
1answer
51 views

Angular UI-Select Dropdown Value Issue After Angular 1.2 Upgrade

We just upgraded Angular from 1.2 RC 2 to 1.2 final and upgraded select2.js from 3.4.0 to 3.4.3.1. Now I'm noticing some dropdowns not displaying their values correctly. The dropdown value is ...
0
votes
1answer
22 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 = { ...
0
votes
1answer
33 views

Populate ng-grid by another grid selection

I am trying to populate a ng-grid based on the JSON array returned from a selection of a first ng-grid. As of right now I can get the JSON array displayed onto the screen but I cannot navigate deeper ...
1
vote
0answers
39 views

Angular-ui ui-map click event not receiving $params

I'm trying to implement Google maps in Angularjs using ui.Map (http://angular-ui.github.io/ui-map/) I've followed the example pretty closely and the map loads, I can create a marker in the map center ...
0
votes
1answer
69 views

Dynamically reloading ng-repeat data in the DOM

I have the following code in my view: <li ng-repeat="i in items">{{i.id}}</li> I would like the ng-repeat to be trigged dynamically when new values are added/removed from items. As in, ...
0
votes
0answers
65 views

How to navigate to a child state using parameters from a factory using Angular.js and ui-router?

I'm trying to get angular ui-router to navigate to a child state using a parameter supplied by a factory which has a default parameter at the start in order to preserve the parameters across the app. ...
0
votes
2answers
47 views

Angular UI- Router Inherited Views

My index.html file is as follows.. <div id="main"> <div ui-view> </div> My home.html file is as follows.. <div login id="loginBox"></div> <div ...
2
votes
1answer
100 views
+50

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
0answers
42 views

how to set active on angularjs bootstrap tab

am using Angular Bootstrap UI to show a tabset with static content (using AngularUI bootstrap). Here is the plunker link that illustrate my issue http://plnkr.co/edit/n8Xp3GrAqlbNxZ7VrXR6?p=preview ...
0
votes
1answer
51 views

Override $digest and $watch in Angular JS

Can anyone suggest how do I create a service to over ride angular js default $watch and $digest loop? My requirement is to $watch a scope object with a listener and the listener function should have ...
0
votes
0answers
98 views

Angular js: using a directive from another directive (chaining)

I'm trying to compile a directive in another directive in angularjs (directive chaining?) and apparently I can't come up with a proper way to do this. The directive I'm trying to write is an ...
0
votes
0answers
106 views

AngularJS Error: Unknown provider: $animateProvider <- $animate

Uncaught Error: [$injector:unpr] Unknown provider: $animateProvider <- $animate I am trying to create a carousel using Angular-ui as given in this link. http://angular-ui.github.io/bootstrap/ ...
0
votes
1answer
55 views

AngularJS ng-change not calling function

I'm trying to get the content in a bootstrap popover to change when the user types something in the email text box. It seems that ng-change is not getting into the method updateToolTip(). I'm brand ...
0
votes
1answer
35 views

Angular-slider on a modal window

I'm trying to get the angular-slider (http://prajwalkman.github.io/angular-slider/) to work on a angularjs twitter bootstrap model dialogue. It works fine on the page, but I cant get it to work on ...
1
vote
2answers
59 views

angularJS get current element in html

I would like to do something like this in angularJS: <div ng-class="{ 'hover-accordion': angular.element(this).children().length >= 3 }"> <div ng-if="showA">...</div> ...
0
votes
1answer
96 views

AngularJS + NG-Grid pass row.column.field into ng-click event

How does one pass {{row.getProperty(col.field)}} into ng-click? What happens is the id does not get propagated back, but the grid render correctly with the id. code: var app = ...
0
votes
2answers
442 views

What is the difference between ui-bootstrap-tpls.min.js and ui-bootstrap.min.js

At the Angular-UI-Bootstrap page on cdnjs, is says: Native AngularJS (Angular) directives for Twitter's Bootstrap. Small footprint (5kB gzipped!), no 3rd party JS dependencies (jQuery, bootstrap JS) ...
0
votes
1answer
47 views

How do I set child state with stateParam in ui-router

I have been struggling for sometime for following scenario to work right. I am using ui-router with angularjs and I need something like: Parent state : .state('parent', { url: '/parent/:someUserId' ...
1
vote
1answer
66 views

tabs with angular: loading tab content on click only with $http

I have big forms with lots of data, so I'd like tabs with chunks of data for each tab. I'd like tab content to be lazy loaded on click of the tab title, and it then doesn't need to be reloaded again ...
0
votes
1answer
49 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
50 views

What is the difference between “dismiss” a modal and “close” a modal in Angular UI-Bootstrap?

What is the difference between "dismiss" a modal and "close" a modal? close(result) - a method that can be used to close a modal, passing a result dismiss(reason) - a method that can be used to ...
0
votes
1answer
54 views

AngularJs UI typeahead match exact

I am trying to do a autocomplete with typeahead that match exact characters like t will match but not T. But I cannot get it to work as I want. Have tried to find a solution in google and ...
1
vote
1answer
94 views

How should I use Angular UI Router?

I have searched the Internets for a couple of days, but can't find what I'm looking for. I am building an SPA using angularjs but I'm struggling with something I think should be quite basic. Coming ...
0
votes
2answers
60 views

angularjs scoping in a modal window

I created a plunker at http://plnkr.co/edit/AQl49R?p=preview which demonstrates an issue I am having. When you click "open" it launches a modal window. Click "xx" and it shows the id for the element ...
0
votes
0answers
65 views

Move $http call with $modal to a service in AngularJS

I have a bunch of repeating code in one of my modules and I'm very confused on the best way to get this out of all of my controllers. I have a service that manages a list of user profiles. These are ...
0
votes
1answer
66 views

AngularJS UI - On click of button collapse single div if multiple divs present

Suppose I have the following code: <button class="btn btn-primary" ng-click="isCollapsed = !isCollapsed">Button1</button> <div id="collapse1" collapse="isCollapsed"> <div ...
1
vote
1answer
69 views

howto disable selection in grid

Is it possible to "disable" or lock the selection of a ng-grid using the inbuilt functionality? I want the user to be able to select a row, click a button and then the grid will stay locked until the ...
1
vote
1answer
57 views

How do I make the carousel indicators in angular ui use thumbnails from a model in a controller?

I'm using the angular ui bootstrap carousel and I want to make the indicators thumbnails. I have a controller that looks like this (from the demo): function carouselCtrl($scope) { ...
0
votes
1answer
52 views

Angular-UI typeahead: show label but bind to value only

I am using Angular-UI typeahead in the following way: <input type="text" ng-model="myModel" typeahead="o.value as o.text for o in options | filter:$viewValue | limitTo:5" ...
0
votes
1answer
71 views

Angular-ui Bootstrap Typeahead control and ng-keydown

In my application I have a form with this behavior: the form field values are incrementally uploaded to the server after an input loses its focus or user hits Enter. It is done by hooking on ...
0
votes
0answers
49 views

IS there any IDE for AngularJS [duplicate]

I am learning AngularJS, I have a too much experience in jQuery. Does anyone have a idea about AngularJS IDE ? Because I see there are lots of predefined variables and defined function body. If any ...
0
votes
1answer
49 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 ...
1
vote
1answer
35 views

One segment route for two different operations

i need to resolve a route of one segment to different behaviors with angular-ui router. For example im doing this by: $stateProvider .state('parent', { url: '/:route' template: ...
2
votes
1answer
167 views

Angular-ui + D3: how to implement contextual menu (popover vs modal)?

Given the following use-case: I use D3js to render objects which are managed by AngularJS. I would like to add interactivity to the D3 chart. When clicking on a svg element I would like to have a ...
0
votes
1answer
74 views

Angular UI Sortable get index after updated

I really dislike how angular-ui is documented. Sometimes they really don't explain a lot. This is the documentation to sortable-ui: https://github.com/angular-ui/ui-sortable First, I cannot pass in ...
0
votes
0answers
25 views

select2 disables a textbox binded to the same model

<select ui-select2="" data-ng-model="popupModel.processor"> <option value="">-- chose a processor --</option> <option ng-repeat="p in ...
0
votes
0answers
79 views

AngularJS/UI dynamically apply inline tinyMCE

First off I am using the Angular wrapped version of tinyMCE. I have a text area that does NOT have tinyMCE applied to it where you can enter html and have it rendered to a div beside it. I want the ...
1
vote
1answer
59 views

Angular-ui-router: managing dependencies with resolve

I'm trying to set up routing with the angular-ui-router plugin for angular. Before anything else should happen on the page (no matter which route), the user's data needs to be loaded. Then based on ...
0
votes
0answers
41 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 ...

15 30 50 per page