Tagged Questions
0
votes
0answers
9 views
Nested SELECT options
I am looking for a directive that allows the user to see elements in a dropdown in a hierarchy. The SELECT tag supports . But this allows only 2 levels. I would like to show about 5 levels. For .e.g.
...
0
votes
0answers
17 views
Bootstrap Modal does not show up in AngularJS app
When i click on Show Modal, the myModal modal does not show up.
Instead the URL on browser window itself changes to /myapp/#myModal (unexpected)
What am i doing wrong here?
<div>
<label>I ...
0
votes
2answers
21 views
How to get state variable value from the URL
My state look like this.
$stateProvider.state("user.admin", {
url: "/administration/:action",
views:{
content:{
templateUrl: 'views/admin.html',
...
0
votes
2answers
47 views
AngularJS multiple radio options
Good afternoon,
We are currently trying to learn AngularJS and although we're picking up some pretty cool codes we can't seem to figure this issue out.
We are wanting to display a list of product ...
0
votes
0answers
13 views
How to clear selected value in angular-ui select2
Im using angular-ui select2 plugin I cant find any solution for clear the selected input. how to clear the selected input ? thanks.
<http://plnkr.co/edit/a3KlK8dKH3wwiiksDSn2?p=preview>
I ...
0
votes
1answer
16 views
custom directive within ng-template does not work
I am using script tag with ng-template for displaying my form in modal dialog.
I am using angular ui $modal service here.
My issue is, when I pass templateUrl argument to $modal service with my ...
0
votes
0answers
31 views
Angular + Bootstrap Responsive Design + Data Grid (DataTables/UI Grid)
I have a large collection of data to display in a datagrid (1000+ records). I want to have this grid to be responsive and lazy load the data with Angular bindings. The Application requirement does not ...
0
votes
0answers
29 views
Angular UI Bootstrap Slider Multiple items per slide
I am connecting to a web service and want to populate A UI Bootstrap carousel with 4 items for each slide. I am using | limitTo:4, but I need a way to limit 4 per slide out of the 10 total.
Here is ...
1
vote
1answer
29 views
UI Router- stateChangeStart fires like 50 times
UPDATE: I added a console statement, and it seems that this listener handler is invoked like 50 times for this one event. Or it can be said that this event is firing like 50 times. Any idea why? What ...
0
votes
0answers
12 views
Connecting angular-ui-grid to an angular-ui-modal with ngResource as a data provider. Is it supposed to be this hard?
I have been trying to get these three pieces to work together. I am allergic to $scope, so I am trying to use controllerAs and object oriented controllers where ever I can. I have a working sample, ...
0
votes
0answers
22 views
how to display a list of array with ng-grid?
I have to display a report from a server table in an nggrid. The table is updated constantly, so I do not know in advance both the number of rows and cols.The customer wants that the data are grouped ...
0
votes
1answer
12 views
Pass Data Between Angular UI Modals
I am looking to pass data between modals using Angular UI. Here is the modalController that defines the controller and view partial for each modal.
app.controller("modalController", function($scope, ...
0
votes
1answer
11 views
Angular Ui Router - Not able to change $state.current.data
I am trying to change the value of $state.current.data from a controller....but this change is not reflected in .config(function($stateProvider) {}.
angular.module("main.loadbalancer", ...
0
votes
1answer
11 views
Angular UI Router - Access Custom Data in Children's Resolve {}
How come this Inherited Custom Data data is not accessible in the child state main.loadbalancer.vips in the resolve: {} function hello?
angular.module("main.loadbalancer", ["ui.bootstrap", ...
0
votes
1answer
26 views
How do I use common templates with $stateProvider?
I'm quite new to AngularJS so please bear with me.
I have an app and I want to have common templates in it, for example a toolbar.
I've seen working examples in similar (but not exact) cases :
...
0
votes
2answers
34 views
AngularJS: Unable to reload/refresh view from controller
How do i refresh angularjs view from controller once the array/list is updated?
Following is my code:
<div class="main-page" ng-app="GoalsListing1">
<div ...
0
votes
0answers
15 views
JQuery file not loading on page with ng-repeat
I am building a real estate listings page for a client of mine with ng-repeat from a json data file that holds all his listings data. On each listing I created a 3 field form so I can tap into a ...
1
vote
2answers
32 views
Sorting with ng-repeat Angularjs
I have an array
$scope.answers=["","","",""]
means Array have multiple empty elements .
<li ng-repeat="item in answers "><input type="text" ng-model="item"/></li>
it throws ...
0
votes
1answer
22 views
angular getting attribute value and cannot find a proper way
I have this in my dom
<div id=“my-lightbox-container" style="height: 0px;”>
<div id=“my-lightbox" role="dialog" style="width: 660px; height: 342px;”>
<button id=“my-close" ...
1
vote
3answers
42 views
AngularJS uses [[]] instead of {{}} for expressions
I got an app which i use from CodePen but i cant use expressions in this way {{Expression}}
i need to use it on this way [[]]
here is the code for the app
<!DOCTYPE html>
...
1
vote
1answer
60 views
AngularJS: How do I select object field when using ui-select?
I want to convert this HTML select to angular-ui/ui-select syntax:
<select ng-model="person.email" ng-options="p.email as p.name for p in people"></select>
How can i make the ng-model ...
0
votes
1answer
14 views
Removing items from an angularjs ui dropdown
I'm currently trying to dynamically remove elements from a angular-ui dropdown instance, but the dropdown contents seems to 'reset' to the element I want to remove.
Here's a plunker illustrating the ...
1
vote
1answer
42 views
How to insert text/symbols from a custom button on textAngular toolbar
Essentially I want to add a button to the toolbar to allow the user to insert © into the textangular editor (http://textangular.com/), however I am having trouble understanding how to add ...
1
vote
1answer
21 views
{{numPages}} not being calculated by pagination directive
I was under the impression with the pagination directive that the {{numPages}} value would be calculated by the directive. It isn't returning anything for me.
Is there anything I am missing to get ...
0
votes
2answers
32 views
Unable to access model values for the angular ui modal dialog
I am very new to the angular world (second day) and trying to work around angular ui. I am trying to build my first modal dialog.
The modal dialog is being shown properly but I m not able to use model ...
0
votes
2answers
18 views
Navigate to angular page template from bootstraps navbar dropdown
I'm building a web app with angular for the first time and have use the bootstraps css (angular ui). I'm using the navbar from bootstrap and route to ng-templates with ng-route. Everything works fine.
...
1
vote
0answers
14 views
Angular ui-sortable + angular-gridster
I'm trying to combine the functionality of ui-sortable and angular-gridster so that I can pull an item from a list and drop it into a rearrangeable grid. ui-sortable and angular-gridster have the same ...
0
votes
1answer
16 views
ui.bootstrap.datepicker is-open not working with a button
I want open a datepicker when i click on a button.
Here is my view :
<!doctype html>
<html ng-app="plunker">
<head>
<script ...
0
votes
1answer
12 views
Angularjs - changing location.path from modal
I have a angular modal window (for login). When user hits submit, i need to change the view to a home page (/myhome).
But doing $location.path = "/myhome" does not seem to be working from modal ...
1
vote
1answer
52 views
UI Router: Multiple Independent Views
I feel like this is a straight forward use case for the ui-router but maybe I'm missing something...
I want to have two separate views next to each other controlled by their own menus. When I click ...
1
vote
2answers
37 views
AngularJS: ng-keypress is not working
Problem: ng-keypress is not working but if I replace ng-keypress with ng-click then filterSearchData($event) function is working.
HTML:-
<!DOCTYPE html>
<html ng-app="myApp">
...
0
votes
1answer
15 views
Angularjs-more module dependency issue
I am using more dependency modules for various application.I want to show the ngtable using directive. but this was not working.
sometimes no error, some time i am getting following the error
...
0
votes
1answer
65 views
How do I $watch the Angular-ui's new ui-select (former ui-select2) search string changes?
I noticed that the Angular-UI have discontinued their UI-Select2 directive in favor of the new UI-Select (with multiple themes - select2, bootstrap, selectize).
It looks like this:
<ui-select ...
0
votes
1answer
26 views
can't use resolve data in modal
Have problem sending data to modal with resolve.
I have this template:
<div class="split wrapper" ng-app="myApp" ng-controller="appCtr">
<script type="text/ng-template" id="tablesModal">
...
0
votes
1answer
32 views
Angular UI datepicker popup on button not showing after 1st time
Html:
<button class="btn btn-default" ng-click="openCalendar($event)" ng-model="currentDate" ng-change="dateChanged(currentDate)" datepicker-popup
show-button-bar="false" ...
1
vote
2answers
76 views
Angular UI select : Fetch data from remote service
I am using angular UI select.
https://github.com/angular-ui/ui-select
I looked around the demo's available at this plunkr
I want to fetch data from a remote service. Every time user types something ...
0
votes
0answers
12 views
angular ui.mask for variable length format
i am trying to use angular ui.mask module to display a full length url based on user entering a section name(suffix)
http://www.example.com/XYZ where 'XYZ' is the user input.
While a mask ...
0
votes
0answers
13 views
How do I implement angular ui-mask?
I am trying to create multiple masked input fields. Angular ui-mask looks like the way to go, however, I can't find very good documentation on the utility. I found an example for credit cards that was ...
1
vote
0answers
52 views
AngularJS ui-select issue
I'm trying to use the ui-select directive, and have gotten all the way through except for removing items. Whenever I click on the 'x', the page tries to validate the form and won't remove the item. ...
1
vote
1answer
29 views
$location.path Angular JS not working
I am new to Angular JS and was trying hello world on routes.
I am taking username and password from user and calling rest service for validation, onSuccess I want to open other url where my home ...
0
votes
0answers
34 views
AngularJS - Cannot read property 'fieldName' of undefined when using $scope.formName.fieldName.$viewValue
We have a form on submission of which we show a modal dialog. The modal also contains a form, whose values i am trying to retrieve.
I can get the value using ng-model, but in case of validation ...
0
votes
1answer
16 views
Angular record the order of checkboxes as clicked
I am trying to add the functionality in my angular application to record the order of the checkboxes as they are clicked and hence show them in same order as they were clicked.
Here is the snippet:
...
0
votes
0answers
39 views
AngularJS typeahead tags
I'm using AngularJS typeahead, I made an autocomplete input with it, using custom templates (to add the photo and the name of the person that I'm typing) and it's working fine.
<input ...
0
votes
1answer
35 views
Access to all states of angular-ui-router programmatically
I have a $stateProvider configured like this:
angular.module('example', ['ui.router'])
.config(function($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise("/steps");
...
1
vote
1answer
30 views
How do i check all my html contents are loaded in angularjs?
I am using angularJS 1.2.1 and angular-ui-bootstrap
In my code i have list of <ng-includes> from angularjs and <accordion> from angular-ui
But when i load the content i want to make ...
5
votes
6answers
159 views
AngularJS - Managing URL changes across multiple controllers / UI elements
Building an Angular application, I'm a fan of using ng-controller and custom directives to structure the app, e.g.:
<nav ng-controller="NavController"></nav>
...
0
votes
1answer
37 views
AngularJS ng-include Left Navigation
FYI-We are using Angular for it's data binding ability. We are not trying to develop our application as a SPA so I do not think that the $routeprovider is an option (if I am wrong let me know). So, ...
0
votes
1answer
30 views
How to update my total-items in angular-ui pagination
i wanna change my total-items in pagination when i call service and service return data.length
service called when i click search in input model
in my search html
<form ...
1
vote
1answer
26 views
Angular-ui-router not rendering templates with django
I am working on a django project that relies on angularjs and having trouble implementing angular-ui-router framework.
As mentioned in documentation I have included ui.router as a dependency,
app = ...
0
votes
1answer
35 views
How to handle big list of items in drop-down angular-ui?
I use angular-ui drop down
It works fine but I have no clue how to handle multiple item in drop down.
Consider following example in Plunker
HTML
<div class="btn-group" dropdown ...