0
votes
0answers
5 views

Angular-ui $modalInstance.close doesn;t work as expected

I created a service that shares a confirm modal. services.SharedService = function($rootScope, $modal) { sharedService.confirm = function(name, callback){ var confirm = $modal.open({ ...
1
vote
2answers
27 views

angular-ui router reload view

I'm using angular-ui's router (v0.2.0) in a project and we're trying to reload a view. I've tried $state.transitionTo and also $state.go, but neither seem to do anything. Would anyone know how to do ...
0
votes
0answers
33 views

angularjs + ui-select2 module does not trigger initSelection correctly

I'm trying to implement AngularJS + Select2 with Multiple selection enabled. When I include the full angular-ui package, it works, however I do not want to use the full version. So, I tried to do ...
0
votes
1answer
16 views

Select2 and angular resource

I want to implement select2 tags with angularJS and the problem is when I try to use angular resource: Object.get({id: $routeParams.id}, function(response) { $scope.ips = ['192.168.1.1', ...
0
votes
2answers
23 views

How do I prevent angular-ui modal from closing?

I am using Angular UI $modal in my project http://angular-ui.github.io/bootstrap/#/modal I don't want user to close the modal by pressing on backdrop. I want a modal can only be closed by pressing ...
0
votes
1answer
31 views

Angular fullcalendar directive filter events from a single event source

I have a question concerning the Angular-UI Calendar directive for Fullcalendar. I am new to angular and I am trying to filter the events from the single eventsource my app uses. What I would like to ...
0
votes
0answers
22 views

How to refresh an angular ui-map (google-map)

I'm hiding the map initially with an ng-hide. When the ng-hide-expression evaluates to true, the map is not shown correctly. It is only partially shown and behaviour is also strange on dragging. When ...
0
votes
1answer
17 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}}" ...
2
votes
2answers
49 views

Hide Angular ngGrid when no items are given

I have an ngGrid that works fine so far. However, I would like to hide it when no items are given, so there is no data to show. What I have tried is: <div class="gridStyle" ng-grid="gridOptions" ...
0
votes
0answers
23 views

Angular js search filter

i have an object obj={ A:[{name:"asd"},{name:"dff"}], B:[{name:"bsds"},{name:"bas"}] . . . Z:[{name:"zsre"},{name:"zasda"}] } i need to search on the bases of name , when user enter some thing i ...
0
votes
1answer
21 views

Controller on nested state not getting executed

I have nested states, with the parent and child state having a separate controller. But only the parent state is getting executed. I have the url structure: #/restaurant/2/our-food So, I want it to ...
0
votes
2answers
43 views

AnguarJS and IE8 - unsupported property or method

I'm working on supporting an existing AngularJS application to work with Internet Explorer 8. For routing, I've used the AngularUI Router framework. It provides the ui-sref directive to navigate to ...
0
votes
0answers
7 views

ngModel.$render is not called when model change

I'm trying to use tiny-mce with angular, but i have some trouble with the $render function in the directive. When i update the model, the $render function is not call. Here a plunkr to illustrate: ...
1
vote
0answers
39 views

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

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
25 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 | ...
0
votes
2answers
15 views

How to filter one ui.select2 based on the selected value in another

I have these items on my scope: $scope.states = []; $scope.counties = []; $scope.filterDefaults = function() { $scope.orderFilter = {}; $scope.orderFilter.selectedState = null; ...
2
votes
1answer
29 views

AngularUI Datepicker dynamic date disabling

I am using the AngularUI datepicker. I have two datepickers that influence each other. One is for example a "start date" and the other is an "end date". Instead of creating validation for both ...
1
vote
1answer
28 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
32 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. ...
0
votes
0answers
58 views

How to populate Angular UI Bootstrap Typeahead with newest $resource

According to this Paweł Kozłowski's answer, Typeahead from AngularUI-Bootstrap should work when asynchronously obtaining popup items with $resource in newest Angular versions (I'm using 1.2.X). ...
0
votes
1answer
33 views
+50

Issue with pre-populating angular-ui's select2

I have an issue with angular-ui/select2 control. I would like to use angularjs to pre-populate the control with an array of objects. I use the init function in order to try and achieve this but ...
0
votes
1answer
69 views

angular datepicker bootstrap-ui doesent work in view

I use Bootstrap components written in pure AngularJS by the AngularUI Team http://angular-ui.github.io/bootstrap/ Problem is that inside view datepicker won't work correctly. so in view I have code ...
4
votes
1answer
114 views
+50

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: ...
1
vote
1answer
53 views

Angular UI-Router fails to load template that I didn't ask for

Plunker Code Showing Issue Described Below http://plnkr.co/edit/Bz3Qhf1eDuFrnKI0qnUo?p=preview I am using two components of the AngularUI suite, UI-Router and UI-Bootstrap. UI-Router is responsible ...
0
votes
0answers
18 views

How to populate select2 from service endpoint on user input to populate selection list

I am trying to call the following service to get the city names to select multiple cities using the select2, http://gd.geobytes.com/AutoCompleteCity?callback=JSON_CALLBACK&filter=US&q=ala ...
2
votes
1answer
56 views

select2 dropdown selected value doesn't get updated with the updated model

I use the latest select2 api (select2-3.4.5) and my html for select 2 looks like this. <select ui-select2 id="select2-test" ng-model="mymodel.myTitle"> <option ...
0
votes
2answers
102 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
19 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
1answer
62 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
52 views

How to nest data with ng-grid [closed]

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
46 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
73 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
46 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
36 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
22 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
15 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
42 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
69 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
33 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
47 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 ...
2
votes
0answers
62 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
85 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
100 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
66 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 ...
3
votes
1answer
138 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
0answers
65 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
61 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
99 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
146 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
77 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 ...

15 30 50 per page