Tagged Questions
0
votes
0answers
42 views
how to add a fonticons in breadcrumb with routing
i have an angular base dashboard application ,in the application dashboard page icon ,when i click the particular icon ,the icon should be redirected to the routing page with menu breadcrumb with ...
0
votes
0answers
33 views
How to display a font-icons instead of image in Uirouter state and uibreadcrumbs
Note: below code is working fine with images.
Need to know how to implement for font-icons,
when I have to click the product menu, the page will redirect to the product page, product page menu will ...
0
votes
0answers
40 views
ng-data-show not working properly with ui-select
If I use data-ng-show inside ui-select the input box takes width of 10px which is the inline style for that input box but if I remove the data-ng-show it works fine.
Why is it so? Is there any other ...
0
votes
1answer
32 views
Angular directive with transcluded elements + RequireJS not working
In this punk I'm attempting to have an Angular directive with transclude: true and RequireJS. The transcluded elements should be included in an Angular UI Modal that is opened when a user clicks on a ...
0
votes
0answers
40 views
Controller 'formioElement', required by directive 'formioElement', can't be found! in angularjs
I am implementing a form using form.io in my angular page. I need to display different forms on click of their name.
Html
<div ng-repeat="form in TemplateNames">
<a href=...
0
votes
2answers
123 views
getting data from angular modal service
First type questioner, long time reader. Newbie to Angular.
I am trying to create a popup modal for expanding a text box. (If you have ever dealt with Access, think shift F2). So, I have a form ...
2
votes
0answers
164 views
How to use $compile inside an AngularJS link function with a $watch
Using AngularJS and Angular-UI Tooltip (uib-tooltip) to setup a tooltip system that allows the user to turn the tooltips on & off. I'd also like to keep the text in a central location for easy ...
0
votes
1answer
68 views
Bootstrap alert message is not working inside angular run blocks under ui-router?
I am doing sample application to autologut if user is idle for 30 Min. before 1 minutes to logOut have to show an warning message to the user.
So i have calculated the minutes and show the warning ...
0
votes
1answer
315 views
how to select default value of ui select?
could you please tell me how to set default value in UI -select .
here is my code
http://plnkr.co/edit/tCrEM4oC9iMSYZffbEAX?p=preview
I want "Adrian" should select as by default .could you please tell ...
2
votes
2answers
509 views
how to select value in UI select value?
could you please tell me how to select value in UI-select value ?
Actually when user select any name I want to select age of item .Here is my code
http://plnkr.co/edit/InxOyQRjrlrDJtx2VuzI?p=preview
...
0
votes
1answer
824 views
Angularjs organizational chart directive
Is there any Angularjs Organizational chart directive for wesnolte/jOrgChart or similar chart?
1
vote
0answers
68 views
Class directive dynamically adding another directives
I'm trying to create an angular directive (as a class) which dynamically adds a angular ui tooltip to the same element. I've tried following, which unfortunately does not work.
MyApp.directive('...
-1
votes
1answer
27 views
What are the libraries included for type ahead in angularjs
I want to run autocomplete with filtering based on the search in tex tbox. I want to know what are the libraries to be included in the head section.
0
votes
1answer
41 views
How to form the Query string in web address url in Angular state router by using state go method
I have a product list page, there have list of products,when click the particular products, call the function and in the function state.go.
Not working in dynamic:
$state.go('home.product.detail', { ...
0
votes
1answer
380 views
need popover over custom template cell of Angularjs ui grid
I am using Angularjs ui grid with progress bar in first column and my grid options are shown below :
ctrl.gridOptions = {};
ctrl.gridOptions.columnDefs = [{
field: 'completeStatus',
...
1
vote
2answers
880 views
Angular UI Bootstrap modal display during $http request
I am trying to create a directive that uses angular ui bootstrap modal. I would like to open this directive from my controller when a $http request is made, and close it when the request resolves. I'm ...
3
votes
1answer
483 views
How to implement multiple templates in one model using angularjs?
This is my code
var app = angular.module('drinks-app', ['ui.bootstrap']);
app.controller('MainCtrl', function($scope, Drink) {
'use strict';
Drink().then(function(drinks) {
$...
1
vote
1answer
184 views
Typeahead seems to lag one $http request behind, whats the bug here?
I know Customizing out of the box typeahead directive is not a good idea, so went ahead and created another directive called type-ahead-custom for my customization.
here's plunker https://plnkr.co/...
5
votes
1answer
151 views
UI Bootstrap modal in directive- multiple modals but only one opens
As seen in this Plunkr, I have two modals, each in separate directive of modal-one and modal-two.
The problem is, that only modal one is being opened, even when clicking on modal two button.
I guess ...
1
vote
1answer
367 views
Embed AngularJS directive in another directive
I'm trying to implement some custom functions of Bootstrap Typeahed in a new directive.
Doing this, I need to embed the original Typeahed directive into mine, passing it, my parameters:
this is the ...
1
vote
1answer
231 views
How to manage an Accordion of Directives in Angular
I'm building a large input form in angular. To make the application user friendly I have broken the form down into many different sections. I need each section to reside within a different group of an ...
1
vote
2answers
2k views
Controller 'uibCarousel', required by directive 'uibSlide', can't be found when wrapping
I have a directive that wraps that carousel directive. When I replace the slides object it comes up with an error saying "Controller 'uibCarousel', required by directive 'uibSlide', can't be found ...
3
votes
2answers
2k views
How to limit an array with 10,000 objects thats linked to my angular ui-select?
I have an array with 10,000 objects in it and its crashing the browser every time I click on the select. Is there anyway to limit the ui-select to only show 10 on the screen at a time? Additionally, ...
0
votes
1answer
434 views
In Angularjs, need to include dropdown in one of header cell of ag-grid
I am using ag-grid and could not find documentation related to Individual header cell template feature. In the example header rendering, the rendering appears to all headers, instead I want to modify ...
0
votes
0answers
146 views
$modal.open() actions in result not updating in form validation directive
I have an angular directive called "show-errors" that I use for form validation. This will apply the "has-error" css class to the containing div when validation fails. This works great in most cases,...
0
votes
0answers
132 views
Use variable from directive (after http post) in the controller (scope)
I'm having problems to set a variable from the directive and use it in the scope of my controller.
In my directive I have:
function full_calendar($http, $compile) {
return {
restrict: '...
-1
votes
1answer
105 views
How to bind angular-ui directive $scope with my controller?
I know, angular-ui directives creates it own scope that is separate from my own. But i want to manipulate data from my template. For example: I want to use angular-ui popover (or modal) which will ...
0
votes
1answer
1k views
Can't pass Fullcalendar options through the directive in AngularJS
I trying to implement a simple example with AngularJS Fullcalendar direcive from here: https://github.com/angular-ui/ui-calendar
It doesn't display any event neither apply custom FullCalendar ...
3
votes
1answer
2k views
Angular JS pass attributes to directive template
I have custom directive for datepicker. I want to reuse it in several different places. But in order to reuse current directive I have to dynamically pass and change different attributes into my-...
3
votes
1answer
1k views
Angularjs Ui grid grouping formatting is needed
I am using Angularjs ui grid grouping functionality. Please see the image, When displaying group sum, by default it is getting displayed as 'total :' but I want to change it to 'Total' (capital 'T') ...
0
votes
1answer
593 views
Angularjs ui grid with grouping column sequence is getting jumbled up
I am using AngularJs ui grid with grouping. The table is displaying fine but the problem I am facing is that the months sequence in the table is getting jumbled up. Please find my Plunker. In the ...
0
votes
3answers
2k views
ng-cloak not solving the initial flicker issue with Angularjs UI Bootstrap tabset
I am using Angularjs UI Bootstrap Tab set. In order to avoid initial flicker issue, with tab names, I am using ng-cloak, but surprisingly still the initial flicker is appearing. I guess it is due to ...
0
votes
0answers
214 views
Client Side Timeout is not working in Angular js
I am developing an angular js application, In which I am implementing some logic to timeout for a http service.Below is the code snippet on which i am working :-
var wkUrl = "api/" + 'Customers'; //...
1
vote
1answer
2k views
Angular spinner is not appearing
I am using urish/angular-spinner but it is not working when I try to use it in controller through $scope.startSpin() and $scope.stopSpin();
Please find my plunker at Plunker. Here the spinner is not ...
0
votes
2answers
46 views
$location.path is not getting redirected to the specified path
I just want to redirect a page without re-loading the page.
So I have tried the following
$location.path("/myPath");
But I doestn't redirect as expected. Since my module file is not getting hit ...
3
votes
0answers
97 views
Angular UI typeahead model changed
I have a strange situation with ui typeahead. For some reason when results come the ng-model is changed to first result of results. That is problem to me because I have on-enter event in which I need ...
0
votes
0answers
89 views
need good design for dynamic templating and transclusion, or ng route for Quiz application
I am somewhat new to Angularjs and little confused the approach I need to take for my project. Can any one provide me some pointers?
My requirements are:
I am using Angular Ui-layout. On the right ...
1
vote
1answer
3k views
Angular google map get latitude and longitude center of the map
From Angular-Google Map perspective using a controller how can i get the (longitude and latitude) center of the current map if like say my controller looks like this:
$scope.map = {
center: {
...
2
votes
0answers
604 views
Angularjs $window.open not working properly IOS and Android
I have a question regarding $window.open in angularjs.
I am having the following angularjs function
$scope.contentPopup = function() {
var tndWindow = $window.open('/content', '', '_blank')...
0
votes
1answer
356 views
Angular UI bootstrap Carousel: my function in scope always calling after carousel change slide
I have a simple code:
angular.module('ui.bootstrap.demo', ['ui.bootstrap']);
angular.module('ui.bootstrap.demo').controller('CarouselDemoCtrl', function ($scope) {
$scope.myInterval = 5000;
var ...
1
vote
1answer
284 views
need inner action list supported angular js dropdown
Can any one provide me reference to angularjs dropdown with action links as shown in the image? From the action list if we mouse over on any lable separate action list should be shown out. Please see ...
1
vote
0answers
372 views
issue extending angular-ui-bootstrap tooltip
I'm attempting to build an extended version of the Angular UI Bootstrap tooltip although it's really more of a translation of the $modal provider into a tooltip provider
my intent is to create a ...
-1
votes
2answers
58 views
It's not loading the views in Angular
I have an empty MVC project, however I do have a folder created by name MyViews and containes html (view1.html and view2.html) while the script html is under the main project folder (Location is below ...
0
votes
0answers
76 views
Why the directive encapsulate my scope?
I have a selector looks like this:
<ui-select theme="bootstrap"
name="targets_selected"
ng-model="campaign_offer.target_audience_id"
aa-field-name="{{'...
2
votes
2answers
8k views
How To Refresh Ng-repeat With AngularJs
I am creating a table with few data. I don't want to load all the data at once. So I create a button on view when the user click that buttoon then it hit the server and take the next 4 datasets. At ...
0
votes
1answer
111 views
Angular modal service to popover
I am using Angular directive for modal box
Here is my markup:
<li><a ng-attr-title="{{::'Share'}}"
href="" class="shareButton" bh-model-ctrl="ShareArticleCtrl"
bh-...
0
votes
1answer
268 views
Angularjs can't edit textarea after ng-model load
After text area is updated with my text, I can't seem to update the text in textarea.
$scope.desc = "";
$scope.d = function () {
for (var i = 0, len = $scope.stat.length; i < len; ...
0
votes
1answer
100 views
How to execute a service that check the status of backend data at all application use AngularJS
Like it's mentionned on the title, I'm trying to create an Angular service that will be used like a listenner on the backend, It will check if the backend finished calculating a list process and ...
0
votes
1answer
290 views
Angular JS Trying create a clone of header, but directives no longer work on clone
Trying to do something like this
angular.element('.header').addClass('original').clone().insertAfter('.header').addClass('cloned').css('position', 'fixed').css('top', '0').css('margin-top', '0')....
0
votes
1answer
107 views
how to make the fist static tab on 2nd menu tabs selected what ever user select from first tabs?
I have 2 tabs menus first one created dynamically and the second one first tab is static and other are dynamically created using ng repeat my quetion is how to make the fist static tab on 2nd menu ...