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
5 views
How to get the value of a html select in AngularJS after using a filter in the ng-options expression
I used a filter in my ng-options expression to convert all the options to uppercase but now when I want to get the value that the user slected I get a undefined
here is my select
<select name="...
0
votes
0answers
2 views
Angular Material Dialog - fixed position element height getting cut off at random point
I need to add an element inside of an Angular Material dialog that has it's own height and will be unaffected by the dialog (imagine a custom dropdown). Whenever I do this, the dialog gets chopped off ...
0
votes
0answers
4 views
angular ng-tags-input; clicking outside the field
Am using http://mbenford.github.io/ngTagsInput/
The input field works and draws autocomplete data from a specified source. It's configured to present autocomplete matches after three characters have ...
0
votes
0answers
6 views
Trying to remove # in Url: Angular Js
My Master Blade head tag has <base href="{!! URL('public') !!}">
and in App.js, I have $locationProvider.html5Mode(true);
When I open the default page, there is no issue and web page works ...
0
votes
0answers
7 views
Nginx: Configuring Nginx to work with AngularJS html5mode
I'm trying to configure my nginx local server so that when page is refreshed it reloads the page instead of showing a 404 not found.
Here is what I've done so far in my nginx.conf , but apparently ...
0
votes
1answer
8 views
Angular Directive - Scope Breaks after adding directive
I am going through this tutorial.
https://code.tutsplus.com/tutorials/mastering-angularjs-directives--cms-22511
For some reason when I add my directive.
myPerfectDirective
It breaks the scoped ...
-1
votes
0answers
9 views
Static timeline required
I'm in need of a timeline (horizontal) that I can use to grab data from a database table (preferably a HTML table embedded on the page so I can then manipulate the data with gridview, but I'm not ...
1
vote
2answers
44 views
How to use a JQuery Selector to find a DOM Element based on one of its multiple classes
My direct/exact question can be found at the very bottom. The following is a bit of background info/ explanation.
So I've got this jQuery function written up in TS
startEventListeners = () => ...
0
votes
0answers
7 views
Angular and node upload to S3 returning 403
I am trying to get a file upload to S3 to work in angular, i'm using this as the basis s3 angular file upload
my Node code for signing looks like this
createS3Policy = function(contentType, callback)...
0
votes
2answers
9 views
How can I modularize the Yeoman + Bootstrap + Sass generator?
I am using Yeoman to auto-generate a project using Bootstrap & Sass. The one thing I am having trouble with is changing the default structure of the project to be more modularized. The generator ...
0
votes
1answer
21 views
Set image src in Angularjs
Controller Code
myApp.controller("BaseController", ["$scope", function($scope) {
$scope.imgProcessingUrl = appUrl + "Images/ajax-loader.gif";
}
]);
here appUrl is http://localhost/...
0
votes
0answers
18 views
AngularJS: Create a directive to show some content in multiple places in multiple pages
I have a condition to show different contents in different places in my app. All the condition will be displayed on the same condition. The problem I am facing is I cannot touch the existing ...
0
votes
1answer
8 views
Utilize current controllers scope and parent controllers scope in $scope.$on
I am currently broadcasting to a child scope(from one parent controller to a child controller). In the $scope.$on
app.controller('myCtrl')
$scope.$on('broadcastName', function(e, d){
...
0
votes
0answers
27 views
$http.get() .then() vs success()
In this link: http://www.w3schools.com/angular/tryit.asp?filename=try_ng_tables_index
$http.get("http://www.w3schools.com/angular/customers.php")
.then(function (response) {$scope.names = ...
1
vote
0answers
16 views
Generic way to add directives from a directive
I'm trying to write an Angular 1 directive that will dynamically add other directives to the element. These other directives are complicated enough to where I don't want to copy and paste their code ...
0
votes
0answers
6 views
<ons-list> doesn't work in iOS
onsenui v2.0.4 - 2016-11-04
AngularJS v1.5.8
angular-onsenui.js for onsenui - v2.0.4 - 2016-11-04
<script src="lib/onsen/js/angular/angular.min.js"></script>
<script src="lib/angular-...
0
votes
1answer
19 views
Issues with update method in angularjs
I want to update my json object with PUT method using the update function in angularjs but after using the update method I get the error of :
angular.js:14324 TypeError: menuFactory.getDishes(...)....
1
vote
1answer
37 views
AngularJS works once then no longer renders
So I am trying to list out some data from an API call, which is JSON. I am new to Angular and JavaScript and I think the whole Async thing is messing with my logic. Sometimes when I refresh the page, ...
0
votes
1answer
9 views
firebase Angular app not connecting h nodejs app on heroku
Sir i have deployed node server on heroku and client angular app on firebase but i am facing this problem .please help me to get out of this.
Mixed Content: The page at 'https://newone-2754f....
0
votes
0answers
12 views
Set Margin between cards and bottom but keep scrollbar as it is
got stucked into CSS...
on
[http://codepen.io/n00n/pen/RoqWJy][1]
you will see an example what I would like to to.
But would like to have a margin cuttin the card at bottom like it is on top ...
0
votes
0answers
7 views
NVD3 donut pie chart thicker colored line?
I am able to achieve(1) using Angular2 NVD3 donut pie chart but my requirement is to produce(2). Can some please help me how can I produce a "single gray/white line(thinner)" with a "thicker colored ...
0
votes
0answers
8 views
how to setup swiper slider in ionic application
hi i tried to setup swiper in my ionic project but it doesnt work/showed please help
you can see my code at this link below
there is three file
apps.js
$scope.swiperOptions = {
/* Whatever ...
0
votes
1answer
20 views
Getting an error from Server as “message”: “Unexpected token d”
I am getting an error from server as 500 when request is sent from browser and 400 when request is sent from Postman. Below is my JSON
{ dishes:
[ { _id: '584ae32eb4e5ec277c8dbcab',
name: '...
2
votes
1answer
25 views
How to Observable.interval multiple http requests (forkjoin) in rxjs
I wanted to create an HTTP polling mechanism, with these rules:
Call multiple http requests parallel (forkJoin)
Run those requests with interval (Polling)
Send data to subscribers only if it has new ...
0
votes
0answers
10 views
After adding the Logger Provider the Angular Quickstart stopped loading
Following recommendations from the installed module angular2-logger I am trying to add Logger to QuickStart
By this recommendation after running
npm install --save angular2-logger
and ...
0
votes
0answers
10 views
dynamically insert ng-app and ng-controller [duplicate]
I am creating an html file on the fly, and would like to insert an angular controller once the file is rendered.
For example, when this file is created dynamically:
<html>
<...
0
votes
1answer
10 views
ng-style ternary condition always resulting false
I am working with angularJS and node.js
here a problem is occurring that 'ng-style' ternary condition always results as false while it must be true.
here is my code :
<div class="msg-...
0
votes
1answer
4 views
angular-google-maps - listen for infowindow domready event
Listening for the domready event in normal js Google maps is relatively easy
as outlined here :
infoWindow = new google.maps.InfoWindow();
google.maps.event.addListener(infoWindow, 'domready', ...
1
vote
2answers
24 views
Making simple dynamic search bar with values according to function
Long story short, I have this div inside my app.component.html:
<div class="col-lg-6 search-div">
<div class="input-group">
<input type="text" class="form-control"...
0
votes
0answers
16 views
How to use an item from one Observable in another
How can I replace the 123 with the results of the router params (I'm using Angular 2)?
this.data = this.apollo.watchQuery({
query: query,
variables: {
custNum: 123
}
})
.map(({data}) =>...
1
vote
0answers
20 views
Angular-ui router nested sub sub state
Using angular-ui router with lazyload on Angular 1.5:
My JS code is like:
$stateProvider
.state('app', {
url: "/",
views: {
'@': {
...
0
votes
1answer
12 views
Update boolean with Mongoose
I have created an app where i can create a to do list. And i have a status that is false when created. The status i supposed to represent if the object done or not.
My mongoose schema look like this ...
0
votes
1answer
20 views
Typescript not compiling classes in inconsistent order
I have an MVC 5 project using TypeScript and angular. I have three TS files: to simplify, we will call them Controller1.ts, Controller2.ts, and app.ts. The problem is that when I launch the program ...
0
votes
0answers
16 views
How to reference node modules in AngularJs file
I'm using the money.js and accounting.js libraries. I used npm install to get them in package.json and am referencing them in my JS file like:
var fx = require("money");
var accounting = require("...
0
votes
0answers
8 views
PDF downloading in Ionic not working in android
I am working on an Ionic application using angular and Cordova and I face the same problem for two weeks now. I can't find a solution yet for downloading a PDF in android. I tried $cordovaFileTransfer ...
0
votes
2answers
28 views
Sending JSON data from angularjs to nodejs
I having a problem in sending json data from front end angularjs to express nodejs. Here is what i have tried.
frontend.html page
<form ng-submit="func()">
<textarea name="inputtext" ...
0
votes
1answer
17 views
List management in AngularJS 2 / Ionic 2
I'm building an app with AngularJS 2 / Ionic 2.
In this application I will have a component with a list. The list can be updated in two ways:
Automatic - Refresh if there is no update or if the last ...
0
votes
0answers
7 views
Working with Spring LDAP and AngularJS
I was tasked to implement Spring LDAP in the back-end of an application and I'm having some trouble doing so, especially with my back-end and front-end communication
On my front-end I created a ...
0
votes
1answer
30 views
How to make a “for loop” synchronous in angularJs?
I am trying to get the user details from backend server, i am getting the details but not in order, Details are getting mixed to each other.
My controller code is here
function ...
0
votes
1answer
50 views
how to access a variable out of function
I need
batchdata:{course_name:"xyz",batch_fees:"1200",---,course_id:"xyz123"}
to sent database but I'm having problem to send course_id along with batchData for that I'm taking course_id from ...
0
votes
0answers
10 views
Manipulating delayed data pased to component in angularjs
I have an angular app that show a list of data returned in an object by a recursive service call, this mean that the data showed in the list is populated asynchronoustly when data is received one by ...
1
vote
4answers
36 views
How scope works in AngularJS?
Why this works?
app.controller("ctrl", function($scope){
$scope.From = "Santa";
$scope.To = "Claus";
});
and why this one doesn't?
app.controller("ctrl", function(scope){
scope.From = "...
0
votes
0answers
12 views
IE javascript throws error when trying to check property existence
Some odd IE (11) behavior here that does not occur in my Angular 1.5 client chrome.
I'm trying to check whether or not a property exists on an object, and get an Error in all of the following cases (...
0
votes
0answers
23 views
Thinkster.io MEAN Stack tutorial: An empty “post” displays on the index page. Why is this, and how do I get rid of it?
I am currently working through Thinkster.io's MEAN Stack tutorial.
I am on the part where the node.js backend wires up with the Angularjs front end. I have data persistence for users to add posts, as ...
0
votes
1answer
6 views
Working with Yelp API and/or Google Places api
Hi I have a project assigned to me for school that requires the use of either google places API or a Yelp API for the purpose of allowing users to search local restaurants or bars near a given ...
0
votes
1answer
18 views
Going back to previous page and keep changes with angularjs
I have a products table, I make an advanced research, click on a line to see details and then click on cancel button to go back to the list, all my research input will be empty...
Is it possible to ...
0
votes
1answer
13 views
ng-click works only after filtering by typing into a field
I want to add to dir Paginate control filtering.
<tr dir-paginate="advert in adverts |orderBy:propertyName:reverse | filter: searchAdvert | itemsPerPage: pageSize">
I have categoryId ...
0
votes
0answers
7 views
Tinymce as a droppable object
I'm using ui-tinymce as a droppable div and the dropped content are news that contain texts and images. I want when the object is dropped into the tinymce the images of news become resize. How can i ...
0
votes
0answers
6 views
breezejs: Nonscalar navigation properties are readonly
I have the following metadata:
var entityTypeParent = {
shortName: 'ParentItemType',
namespace: 'MyNamespace',
autoGeneratedKeyType: Identity,
defaultResourceName: 'ParentItemTypes',
...
0
votes
1answer
18 views
How to skip focus of disabled tabs
I have an html page with multiple tabs of which one or more can be disabled based on some condition in Angular. (At least one of them will always be enabled)
<tabset>
<tab ng-disabled="...