Tagged Questions
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
39 views
Angular UI/bootstrap typeahead showing 'Error: No controller: ngModel' error
In my application I am calling an http service to get data and I am using angular-ui bootstrap's typeahead directive (ui-bootstrap-tpls-0.6.0.min.js). I have a partial that has a form that mentions ...
0
votes
1answer
61 views
AngularJS UI Bootstrap modal is unable to perform functions from scope
In my angularjs app I use UI Bootstrap for creating modals. I pass scope and custom controller into the modal, it shows my data from original scope but cannot perform any of its function.
I have main ...
0
votes
0answers
20 views
make angular-ui append modal inside div with class .enable-twitter-bootstrap
We have a big site with lot's of legacy .css with rule names that collides with the ones of twitter bootstrap. As a solution we use a .sass version of bootstrap and have wrapped everything like so:
...
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
2answers
40 views
AngularJS UI Bootstrap typeahead with ajax using Coffeescript
My question is very similar to this post 'Using typeahead and ajax in a AngularJS app'
Coffeescript:
$scope.tradingPartners = (searchOn) ->
console.log("Searching on #{searchOn}")
...
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
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
1answer
29 views
angular-ui bootstrap tabs reorder orderBy
I am using angular and angular-ui-bootstrap tabs. I would live to use the orderBy or be able to dynamically reorder the tabs.
I created this plunkr
<tab ng-repeat="tab in tabs | ...
0
votes
1answer
27 views
has no method 'focus' on ui-bootstrap datepicker
I'm getting this error:
TypeError: Object [object Object] has no method 'focus'
when I do click on datepicker input. I'm using:
angular v1.0.8
angular-bootstrap v0.5
This plunker shows that ...
0
votes
0answers
33 views
Unable to see Tabset/Tab content
I have the following setup
index.jade
...
li
a(href="/template/tabs/tabs") tabs
...
script(src='js/tabs.js')
In my angular app.js
angular.module('myApp', ['myApp.filters', ...
0
votes
1answer
46 views
Using angular-ui bootstrap and typeahead-loading
So I can't seem to figure out how to use the typeahead-loading attribute to show a spinner while my typeahead is getting remote data. I can't find any examples of its use anywhere.
Is that value ...
1
vote
1answer
46 views
Angular-ui tooltip with HTML
I am currently adding some bootstrap tooltips in my application.
All of the "normal" tooltips are ok, but when I want to use tooltip-html-unsafe, all I got is an empty tooltip.
My tooltip:
...
2
votes
1answer
84 views
ui-bootstrap modal scope bug
I am noticing some weirdness with the ui-bootstrap modal scope. It seems that when using ng-model in it, you have to reference $parent to get to the scope of the modal controller. Notice in my ...
1
vote
1answer
184 views
Angularjs UI Modal Forms
I used to have a login dialog using bootstrap modal:
$scope.loginDialog = {
backdrop: true,
keyboard: true,
windowClass: "modal loginDialog",
backdropClick: true,
templateUrl: ...