1
vote
1answer
14 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 ...
0
votes
0answers
10 views

Uncaught TypeError: Object [object global] has no method 'onGoogleReady' using angular-ui's ui.maps with Angular.js

I'm trying to use angular-ui's ui-map library with Angular.js and receive the error " Uncaught TypeError: Object [object global] has no method 'onGoogleReady' using ui.maps with Angular.js ". I ...
0
votes
0answers
6 views

Angular UI-slider, update model when user drops mouse key

Is there anyway to configure angular-ui slider so the model is updated only when user drops mouse key? Instead of changing the value in realtime? Reason is performance. I make heavy calculations when ...
0
votes
1answer
19 views

Use a controller in another controller in Angular

The modal in angular-ui example is implemented with a ModalInstanceCtrl inside a ModalDemoCtrl controller like so: var ModalDemoCtrl = function ($scope, $modal, $log) { $scope.open = function () { ...
0
votes
0answers
43 views

How to populate jQuery UI Select2 with Restangular

I can't see why Restangular would behave differently inside a jquery-ui callback to the way it does anywhere else. Can you? The following works in my controller: ...
0
votes
2answers
55 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 ...
2
votes
1answer
19 views

Angular ng-disabled with function

I want to use disabled-ng with dynamic value returned from a function. I have tried several ways but it is not working. <textarea id="{{exercise.type}}" ng-disabled={{prova}}></textarea> ...
1
vote
1answer
33 views

AngularJS error - [$compile:multidir] Multiple directives error

I use these packages: An angularjs modal from angular-ui package: http://angular-ui.github.io/bootstrap/#/modal And Angular-flexslider from here: https://github.com/EnthusiasticCode/angular-flexslider ...
1
vote
0answers
40 views

How to translate Angular-UI-Botstrap datepicker?

The documentation for the datepicker (Angle-UI-BootStrap) reports: Everything is formatted using the date filter and thus is also localized. Checking the documentation for the date filter can ...
0
votes
0answers
45 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
14 views

ui.bootstrap tooltip and ng-model in input element don't play well together?

I am trying to create an input element with a tooltip and bind a function to the enter keypress event. Each of these functionalities work in itself, but not combined. Here is the markup: <input ...
0
votes
1answer
16 views

How to add jquery to jasmine/angularjs unittests

I have a project which is builded on plain angular.js code. We creates unittest with jasmine. But now we need to grab some 3rd party components (some directives from Angular-Bootstrap), which is also ...
0
votes
1answer
37 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
0answers
33 views

How to handle long dynamic urls with angular ui-router?

I am building the front-end app for a REST service, and most of the resources are located at long urls where most of the segments are dynamic based on records created in the app by users. Obviously I ...
0
votes
1answer
36 views

How to extract query parameters with ui-router for AngularJS?

How do I extract query parameters using ui-router for AngularJS? In AngularJS' own $location service I did ($location.search()).uid to extract the parameter uid from a URL. What is the ...

15 30 50 per page