Tagged Questions
AngularJS (a.k.a. AngularJS 1) is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Whatever (MV*) capability and reduce the amount of JavaScript needed to make web applications functional. These types of applications are also frequently known as ...
0
votes
0answers
4 views
How do I create a CSV file from a database table in a custom section in Umbraco 7 (MVC)?
I am trying to convert a table in a database to a CSV file for the user to download. I have created the button, now I just need to figure out the best way to approach this. This is complex beacuse the ...
0
votes
0answers
5 views
How can I use xcode to edit typescript files?
I've setup and installed npm, node, and verified they are both there. I've also worked through the Angular 2 quickstart guide and have compiled and ran the demo app successfully in my mac environment....
0
votes
0answers
9 views
How do I make a conditional editableCellTemplate?
I'm trying to make certain rows in ui grid be dropdown menus. to accomplish this; I set editableCellTemplate to this;
<div ng-if="!row.entity.dropdown">
<form
name="inputForm">
&...
0
votes
1answer
12 views
How would I add a <u> tag to an html inline angular variable that is the result of a ternary expression?
So I've got the following going on right now.
<label>
Make {{$ctrl.tcTemplate.isLibrary ? $ctrl.tcTemplate.name : "this item"}} a Library item:
<toggle ng-change="changed(); $ctrl....
0
votes
1answer
7 views
Get the value of a key after filtering with value in Firebase
I am new to Firebase. I am trying to get the value of a key after filtering it with a value.
I first get the specific user with the room_num value "323" by using
uref.orderByChild("room_num")....
1
vote
1answer
20 views
For loop not executing http service correctly
I am trying to call an http service within a for loop through a function (callAPI).
Here is my code. The problem I am having with this code is that I don't get the correct id called in the right order ...
0
votes
0answers
10 views
Angular - pass object from directive to parent scope on click
I'm using an angular directive to generate a reusable template and show some data in it. The directive also has an ng-click that should take an object and pass it to the parent controller. I'm kind of ...
0
votes
0answers
5 views
AngularJS Custom Directive customization
The following html is redundant in 7-8 html pages
<div class="fix-height-row">
<div class="name-container">
<label class="input-header">
<tap:string id="...
0
votes
0answers
4 views
Gap between candlestick
Im trying to plot a candlestic chart for a stock.
But since its closed during weekends there is a gap in the chart
Is there a option im missing??
I want to remove the gap without loss of the dates.
...
3
votes
3answers
37 views
Upgrading Angular 2.0.0 to 2.x.x
Currently our application is on the Angular 2.0 version.
How important is it to keep updating it as and when Angular releases a new update?
In the changelog i dont see any breaking changes that need ...
0
votes
0answers
11 views
Localhost Connection Refused on CORS
I haven't been able to solve this with others having a similar issue here. I'm trying to take a screenshot of my app (running on port 3005) and deposit it on a separate local domain (running on port ...
0
votes
0answers
12 views
Integrate/Upgrade angular 1 module into angular 2 components
I am a newbie to this angular world. I have cloned the angular2 quickstart application starter(ES6/Typescript). I want to use the angular-xmlrpc library in my angular2 application. The angular-xmlrpc ...
0
votes
0answers
12 views
Add some content after user login
Good day.
I created rest api with node.js and strongloop.
Also there is app based on angular.js.
When user login, server send accessToken and it store in cookies.
Every request i send accessToken, and ...
0
votes
0answers
24 views
Setting focus on dynamically created element
I have this code which generates bunch of tabs
<li ng-repeat="nav in navs">
<a href="" id="{{$index}}" ng-class="{'selected-nav': nav.state === selectedTab}" tabindex="{{nav.state === ...
-2
votes
2answers
22 views
Obtaining data from GET request and processing it (Angular 2)
I am trying to obtain an array of information from a GET request in Angular 2. To do so, I created a service as follows:
obtainInformation() {
// Obtain authorization token for the request
...
0
votes
0answers
6 views
Display Google Maps with current position with ngMap
I'm trying to display a Google Maps webpage with a marker that shows the current position (using this library -> https://github.com/allenhwkim/angularjs-google-maps). This is the controller.
export ...
0
votes
2answers
33 views
ng-init function called 1000+ times
I have a module like this :
angular.module('BlurAdmin.pages.calendar', [])
.config(routeConfig);
/** @ngInject */
function routeConfig($stateProvider, $urlRouterProvider) {
$stateProvider
...
1
vote
0answers
43 views
$http.get not populating dropdown within directive
I have this $http.get call inside my directive (myApp.directive('wizard', function ($http) { });)
$http.get('/api/TimeSlotsAPI').then(function(result) {
if (result.data.length == 0) {
...
0
votes
1answer
16 views
Access another form within a Validator in Angular 2
I would like to validate if two forms have the same content using Angular 2 validators. How can I access the value of one form from the validator function of another form?
Suppose I created the form ...
0
votes
0answers
30 views
How to link menu <li> to nav bars links
I have navigation links:-
<!-- Navigation tabs -->
<ul class="nav nav-tabs" id="tab-menu">
<li><a data-toggle="tab" href="#Tab1">Tab1</a></li>
<li>&...
-4
votes
0answers
38 views
Overwhelmed by development tech choices - what should I be studying? [on hold]
Rewrote Question
I need some career/tech advice. I've been developer for 15 years, mostly in C# and ASP.NET Web Forms and more recently trying to transition into either ASP.NET MVC and jQuery ...OR......
0
votes
2answers
26 views
AngularJS Performance Issue with $Digest
Scenario:
On ng_click, I'm calling a function in its AngularController which is internally calling a function in its AnguarService and this is making a Webservice call and getting a Json object of ...
2
votes
2answers
16 views
IE: “Origin not found in Access-Control-Allow-Origin header” using CORS enabled .NET Core and Angular 2
I'm in the process of building an internal application where I am using Angular 2 (CLI/Webpack) to call a CORS enabled service that I built using .NET Core. The service uses the user's Integrated ...
0
votes
2answers
19 views
Conversion of string to list from a file
I have a file in which the data(list) looks something like this
[5,[5,[5,100,-200],200,-400],300,-500]
Now when I read this file in an angular application, the file contents would be converted to ...
0
votes
0answers
14 views
AngularJS not loading templates in Codeigniter
I'm trying to use Angular with my Codeigniter project. The problem is that it doesn't load the proper template file through angular router.
In the root instead of showing templateUrl: 'index.php/...
0
votes
0answers
10 views
Convert Meteor Template to NodeJS/AngularJS
I have a current website made with Meteor that is based on Templates like:
<body>
{{>section1}}
{{>section2}}
{{>section3}}
</body>
<template name="section1">
<...
0
votes
0answers
12 views
Dynamically recalculating row height of multiple tables after dragular drop
I want to drag an item from a list of items and drop it in a table column. Each columns of the table contains another sub table with a specific template.
I am using dragular for this.
Problem : As I ...
0
votes
1answer
21 views
Clicking a button that will use a broadcast for a modal to appear with data
On my html page (rollup.html) I have a button that opens a modal.
<button id="myBtn" ng-click="printDivModal('rollup-tab')">ModalTest</button>
On the js page (rollup.js) here is the code ...
2
votes
2answers
35 views
Send an angular POST Request
I want to send a post request by angular. My problem is angular actually send a get request instead of a post request. My angular request is here:
$http({
method: 'POST',
url: ...
1
vote
1answer
62 views
Is it possible to access an array in html using a scope variable?
I have a Json array that I want to use in my template file, but to access certain elements of the array I need to use a scope variable. I can do something like this in the controller, but I need to do ...
2
votes
0answers
33 views
How do we remove the synonym between the tag angular and angularjs? [migrated]
The Angular team and Angular community would like to use the tag "angular" for all Angular2+ questions. And keep the tag "angularjs" for all Angular1.x questions. Problem is that they are linked as a ...
0
votes
1answer
20 views
Angular Material Design how to fill a column vertically
How do I fill a column vertically. I currently have this app.
I want to spand the vertical items vertically to take the rest of the page. I have tried for hours reading the documents and checking ...
0
votes
0answers
5 views
fabricjs 1.7.3 tsd for angularJs + TypeScript
I'm looking for the tsd for the last version of fabricjs (1.7.3), but i can only find tsd for 1.5 (here https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/fabric/index.d.ts)
I need to use ...
0
votes
2answers
42 views
Changing src with .attr() on an ng-repeat & ng-click not working
I have loaded pictures (pins) with an ng-repeat. When someone clicks on a colored pin, it will go grey, and vice-versa.
My ng-repeat is: ng-repeat="note in vm.myData.contactHistoryContainer track ...
1
vote
2answers
25 views
AngularJS not getting API Response
Using AngularJS, and the CXF-JAXRS library running within an OSGi environment (KARAF), I'm trying to get a simple API response working.
The logs show that AngularJS is properly connecting to the REST ...
0
votes
1answer
20 views
Long delay when doing $rootscope.$on with large object
In AngularJS I have a js object (factory) with lots of functions. 4000 lines. When I pull in the data from php and create the object it takes pretty quick.
$http.get('pivots/list.php')
....
0
votes
2answers
37 views
Call variable in html component
isAllowed: Boolean; isAllowed is not a function just a Boolean variable
I have a function which gives out boolean value and I am saving it in variable which I want to call in HTML template of ...
3
votes
0answers
54 views
Responsive Hexagon Menu
I am trying to implement a Hexagon menu for mobile apps. The end result is
My attempt is at JSFiddle.
The issues I am facing right now are:
How to make the Hexagon menu responsive so that it is ...
0
votes
0answers
43 views
How AngularJS controller and service access to each other?
If I have two controllers in two different modules, these two modules located in different folders. How can these two controllers access to each other's properties/methods?
Folder A,
-controllerA ...
2
votes
1answer
36 views
$scope.$apply() creating multiple instances of a new scope
I'm working with a provider and factory set up in angular, and in the factory is where I do all the heavy lifting of generating the templates, creating the instances, and doing all of the animations. ...
0
votes
1answer
19 views
ng-init in Select is not working in angularJS
I have a Select element like this
<select class="form-control" id="designation" ng-model="employee.designation" ng-init="select Designation = options[0]" ng-options="d for d in designations" ...
0
votes
0answers
8 views
Angular 1.5 Material speed dial reserving space in table
In Angular 1.5 Material I'm using an <md-fab-speed-dial> in a table's row header.
<tr>
<th>Foobar
<md-fab-speed-dial class="md-scale" md-direction="up">
<md-fab-...
0
votes
0answers
20 views
(org.ebaysf.web.cors.CORSFilter) Origin […] is not allowed by Access-Control-Allow-Origin (Safari only)
I have a Spring MVC application to which we have added CORS Filter configuration, as such in web.xml:
<!-- CORS filter -->
<filter>
<filter-name>CORS Filter</filter-name>
...
0
votes
0answers
5 views
angular ui-calendar Export functionality
I am using angular Ui calendar http://angular-ui.github.io/ui-calendar/ in my angularJs project and i have e requirement to export the calendar so that it can be downloaded locally to users computer ...
0
votes
1answer
17 views
Cannot go back to main ssrs report from a drill thru report in Chrome report viewer
I have a SSRS report with includes a Drill Through report. When I run the report from Report Manager and click the link to go to the Drill Through Report, there is a 'Back' button so the user can go ...
0
votes
0answers
7 views
AngularJS ui-Grid Sort icon alignment
I am trying to change the float alignment for the sort icon in a ui-grid.
I have big column labels and sometimes the soft icon, even invisible broken the layout.
Is there a way to move this icon to ...
0
votes
0answers
8 views
Pass Basic Auth from Angular client to Loopback Rest Connector
I am trying to pass the authorisation (Basic) header to the loopback-rest-connector datasource.
Note: could use a config object
Angular
$http.post(JGurl, linkObj, {headers: {"Authorization": "Basic "...
0
votes
2answers
31 views
Angular.js How can i set a constant in the login controller
I have a simple login controller thats handles the app login process. on the module level, i have created a constant like this:
.constant('MyConstant', [{
id: null,
user: null
}])
In my ...
0
votes
2answers
36 views
how to make checkbox unchecked when other checkbox is checked in angular
I have a table where it shows the list of deleted items.
User can either recover the item or delete permanently. i need help in making only one checkbox is checked in a table row and uncheck other ...
0
votes
1answer
19 views
Alternative of ng-repeat in the AngularJS?
I have an array in which the thousands products and i have iterate the array with the help of the ng-repeat,it is working properly in browser,but in the mobile devices products are load really slow ...