Questions tagged [angular-ui]

AngularUI is the enhancement companion suite to the AngularJS framework. It contains UI widgets and directives that are not part of the AngularJS core but are commonly needed in a project.

The AngularUI is an umbrella project for multiple sub-projects:

  • angular-ui - original project containing jQuery-specific directives as well as number of utility directives and filters.
  • bootstrap - project containing directives specific to Twitter's bootstrap. Native AngularJS directives without dependencies on any 3rd party JavaScript
  • ng-grid - fully-featured grid implementation for AngularJS. Depends on jQuery.

Code

Hosted on GitHub: https://github.com/angular-ui

Community

  • Mailing list: angular-ui@googlegroups.com
  • IRC: #angularjs
2766 questions
54
votes
2 answers

ui-router resolve with dynamic parameters

This is probably simple but I can't find anything in the docs and googling didn't help. I'm trying to define a state in $stateProvider where the URL I need to hit on the server to pull the needed data depends on a state URL parameter. In short,…
kliron
  • 4,383
  • 4
  • 31
  • 47
53
votes
7 answers

Is there a way to automatically close Angular UI Bootstrap modal when route changes?

I've got links in templates inside modals. When I click them, the current page changes, but the overlay and modal stay. I could add ng-click="dimiss()" to every link in all templates in modals, but is there a better way? E.g. to close it…
szimek
  • 6,404
  • 5
  • 32
  • 36
53
votes
6 answers

Angular UI DatePicker adjusting for timezone

I have a date stored as a Date in SQL Server. The date shows 4/24/2014 when I query in SQL. That is correct. The date is correctly brought over to the client side in UTC. To edit that date we're using the Angular UI DatePicker. The DatePicker is…
Brian
  • 1,675
  • 3
  • 19
  • 29
53
votes
6 answers

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

I am using Angular-UI typeahead in the following way: binded to a model like: var options = [ …
Matteo Piazza
  • 2,462
  • 7
  • 29
  • 38
53
votes
3 answers

Scope issue in AngularJS using AngularUI Bootstrap Modal

plunker: http://plnkr.co/edit/wURNg8ByPYbEuQSL4xwg example.js: angular.module('plunker', ['ui.bootstrap']); var ModalDemoCtrl = function ($scope, $modal) { $scope.open = function () { var modalInstance = $modal.open({ templateUrl:…
Manuel Bitto
  • 5,073
  • 6
  • 39
  • 47
53
votes
4 answers

Cannot get textarea value in angularjs

Here is my plnkr: http://plnkr.co/edit/n8cRXwIpHJw3jUpL8PX5?p=preview You have to click on a li element and the form will appear. Enter a random string and hit 'add notice'. Instead of the textarea text you will get undefined. Markup:
47
votes
4 answers

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?