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
7 views
Not able to call C# function from factory of Angularjs
1. factory
factory.getEventSummary = function (evntMid,evntstatus) {
return $http.get('/API.aspx?action=import&entity=eventSummary&eventMid' = +evntMid + '&evntstatus=' + ...
0
votes
2answers
25 views
How to call a directive in angularjs
I am trying to display the model box through directive and i am not sure where i went wrong but my directive is not at all caled.Can anyone please suggest help.Thanks.
<div class="modal fade" ...
0
votes
0answers
4 views
How to get video stream from webcam in angular
Hello i need to stream video from my webcam to all user that enter my webpage.
If i currently go to my page i can see me in my webcam,but i want that ather user when they entering my page to see me(...
0
votes
0answers
3 views
how to close map marker info window on external click
i am showing a map data using ui-gmap-google-map like below
<ui-gmap-google-map center='map.center' zoom='map.zoom'>
<ui-gmap-window show="map.window.show" coords="map....
0
votes
2answers
35 views
How do I create link tags within strings in angularjs?
I have strings that contains links and I want to make the link clickable. In angular how would I go about doing so.
Here is an example of a string from the json data I have "I’m hosting #AFF Catwalk ...
0
votes
0answers
28 views
Angular Js: Changes not reflecting on changing array in Scope?
I am trying to call angular function while i am dropping a list into another list. Function is running fine and changes are reflecting on console very well, But it does not reflecting on controller ...
0
votes
2answers
28 views
AngularJS : Display a property value of multiple objects in an input text field, comma separated
I have an array of JSON objects in the format
users=[{id:'1',name:'ABC'},{id:'2',name:'DEF'},............]
I need to display the names of all users in an input text field comma separated as below ...
0
votes
0answers
7 views
Arshaw full calendar does not show time properly
I am using Arshaw full calendar[Angular bootstrap] in my project, but after implementing it, Whenever I go to the day view and click on the time span say 12.00am, day click event gets fired and if I ...
0
votes
0answers
25 views
Expected Array but received
I am a newbie to Angular and I am trying to implement a calendar for events.
I am using Angular UI Calendar. When I post the data, it gets posted but it gives an error.
POST METHOD
$http({
...
1
vote
1answer
14 views
How to create a Browse button in android to load any directory from sdcard or internal card?
I want a button which browses directory path so that in my app I will be able to browse the any folder in android whether it is in the internal storage or external storage
So that with the help of ...
0
votes
4answers
27 views
how to call controller function on button click when my button is placed in different controller in angularjs
I am new to angularjs and making a single page application.Please see the attached screen shot I have a dropdown in which there is an apply button and on click of this button I want to call functions ...
0
votes
0answers
10 views
Video loading message until response comes from backend
Video Upload.js
var json = {
"request": {
"service":{
"servicetype":servicetype,
"session_id": ...
0
votes
1answer
26 views
How to pass a row's data to an edit page
First off I'm new to angular. Right now I am displaying in a table a list of records from a database. The grid shows id, first name, last name, and has an edit button per row. When I click the edit ...
0
votes
2answers
29 views
unable to access scope value
i have a code like this in html;
<div ng-if="item.shareText">
<textarea></textarea>
<div>
<select ng-model="shareOptions">
<option value="PUBLIC" ...
0
votes
1answer
28 views
How to display a 'new' badge for new rows in ng-repeat
I am doing a insert operation on a table. i wanted to display a new badge on for the new row with the new values for which i have used ng-repeat to display. Can i do that with angular js ? or should i ...
0
votes
1answer
13 views
UI-Router - What is the exact issue for the getting the error as `Maximum call stack size exceeded'
My app have the login page, which require to redirect to another extenal web site. as well I require to use the same login page with another new state name.
i have made the required changes, But I am ...
0
votes
2answers
23 views
How to avoid loading all the controllers at run time
I am using require to avoid loading all the controllers at run time. But in my case all the controllers are loaded when application starts.Here is my code
App.js
define(['angular',
'...
0
votes
2answers
31 views
How to filter the data by Future and Past Dates
HI, I am new to angular, I want to show data by past data from
yesterday's date, and show data of today+future date.
//Here is the HTML code for Past Events
<div ng-repeat="event in events | ...
-1
votes
0answers
15 views
Dynamic ngRoute in AngularJS
I have a Parent HTML file which I'm going to set for ngRoute . And the child HTML files have only used with div or p or h1 tags. If suppose I need to add some animations or plugins to my child HTML ...
1
vote
1answer
8 views
Is it possible to get Arrival/Destination Time from Google Map App
I am developing ionic application for Android. I want to open the Google Map App from my Application. Using launchnavigator,
launchnavigator.navigate([50.279306, -5.163158], {
start: "50.342847, -...
0
votes
0answers
10 views
How to upload files (large size videos) using Javascript/AngularJS to another FTP?
Hello I am stacked in uploading video files using javascript/angularJS. firstly I used to PHP while uploading. but it get failed when large amount of video is uploading. someone says it will be ...
2
votes
0answers
21 views
Vue router inherit parent properties
I'm fairly new to vue.js and I'm currently trying to setup my different routes. I'm using sub routes, since the "logged in" user will have a different UI than a visitor.
Currently my setup is like ...
0
votes
0answers
12 views
I need to load libraries in order to load a page on facebook through page tab
I have to load these libraries in order to load a page in facebook page through page tab, so that I will put these libraries in index page and I will add that url in facebook developer's page. If I ...
1
vote
0answers
8 views
Dynamic css issue with jhipster
I implemented one template with my jhipster project. When I scroll down on web page, it adds one css class fixed in header tag. It is working fine normally and even with Angularjs but after ...
1
vote
2answers
27 views
Redirecting using location.path()
On first click of button it is redirecting to the specified location but clicking later it is redirected to login form. I'm totally stuck.. please help.
$scope.edit = function () {
$...
0
votes
3answers
22 views
How to pass class object in angularjs function
I have a class
public class Customer
{
private int _Id;
public int Id
{
get { return _Id; }
set { _Id = value; }
}
private String _Name;
public String Name
...
0
votes
0answers
12 views
How to disable initial Ordering of data in Angular Datatables?
I am using angular datatables and I have only one column.
When I bind it, the data comes in an ascneding order, while I want to display it in the order I recived it.
Can someone please help.
...
1
vote
0answers
13 views
Why do I need $rootScope.$apply when inside $rootScope.$on?
Why is $rootScope.$apply() needed in this example to update elements using ng-hide on the page?
In my experience whenever I put $scope.$apply() inside a $scope.$watch I get the "digest already in ...
2
votes
1answer
12 views
protractor: can't find elements of element
In my tests, I need to first find a specific product, and then do some operations on some subelements of that product. There are many products.
This is my first protractor scripts so bear with me.
...
1
vote
0answers
14 views
Select element from Observable array Angular
I'm querying an API and trying to get a specific element out of the array it returns.
I query the API and get a JSON response back. I send the response via a .map call to a function that maps each ...
1
vote
0answers
7 views
How to show throbber when loading file content to Iframe
Download multiple Files with IFrame.In case of higher size Files takes too much time to download the file. I want to show a loading image while downloading the file. iframe.onload function works only ...
0
votes
0answers
7 views
ngHandsontable scientific notation
I am using ngHandsOnTable in my application primarily for its features of copy/paste from excel.
Now, the issue is with scientific notation values . When I try to copy the value from excel like 3.39E+...
0
votes
0answers
8 views
AngularJS 1.5.8 - propsFilter with Parse Object
Is there any way to use the propsFilter, for example, with ui-select with a Javascript object (I have a ParseObject from the open-source Parse server). My existing code is:
<ui-select ng-model="...
0
votes
1answer
13 views
Nativescript http php request
I am trying to do a simple http request on a remote server in nativescript.This what I have so far:
import { Component, ChangeDetectionStrategy } from '@angular/core';
import {request} from "http";
@...
0
votes
0answers
8 views
Angular ui router html5Mode false and accented URLs in chrome
I always use html5Mode true when using angular ui-router but for a project hosted on github pages, I can't activate this mode given that no server side redirection is possible. So lets go with uggly ...
0
votes
1answer
21 views
Closing an Angular Material dialog
Calling $mdDialog.cancel() from the controller will close the dialog. But is there a way of not using a controller to close the dialog box like directly from the html ? I want something like this to ...
0
votes
0answers
9 views
angular complex service cooperations
For example, I have two services: realtiesService (that handles data) and filtersService (that handles filters for these realties). realtiesService's data is displayed in a table in page's main area ...
0
votes
0answers
23 views
AngularJS closest alternative
What is the equivalent AngularJS code (controller) for below jQuery code?
$("#tabsContainer").closest("[id^='MSOZoneCell_WebPart']").find("span[id^='WebPartCaptionWPQ']").each(function(){
...
0
votes
4answers
28 views
Not able to delete in repeat method in AngularJS
'Remove Choice' is not working. Here are two functions addNewChoice and removeChoice. The addNewChoice is working however removeChoice is not working. I don't know how to solve it. Here my code is ...
0
votes
1answer
17 views
Angular 2 - Routing Issues with file based app
I've been tinkering with this one based on several threads and tutorials, none of which seem to solve this particular issue. I have a small app that is being loaded from the file system and not ...
0
votes
0answers
15 views
How to add jquery to window object when using angular, typescript, webpack
I have backported the ng2 webpack guide to ng1 - https://angular.io/docs/ts/latest/guide/webpack.html
I have 3 entry files - polyfill.ts, vendor.ts and main.ts. This is the way webpack loads them ...
0
votes
1answer
26 views
Angular ng-repeat with form fields
I want to create a simple form with some nested data. When i click the addSite() function i want to create a new Site item and append it to my $scope.info.
I cannot create more than one form and the $...
1
vote
2answers
25 views
Pass variable value to array arguments in AngularJs 1.X
I'm trying to launch external webpage in my angular application, I am using angular 1.4.X version. I have a array items which will be iterated to display as md-buttons with different icon, names. ...
0
votes
0answers
14 views
Typescript definition files error in Webpack
I have the following webpack setup.
'use strict';
const HtmlWebpack = require('html-webpack-plugin');
const path = require('path');
const webpack = require('webpack');
const ChunkWebpack = webpack....
0
votes
0answers
5 views
Angular Material datepicker filter specific date
Can someone please explain how to apply a custom date as a filter using Angular Material without causing everyweek on that day to be selectable?
I've followed the documentation and can get it to work ...
0
votes
1answer
18 views
In angular route provider setting page title based on url
How do I access the url in the setTitle anonymous function?
I have something like below in my route setup for Angular. Most routes point to the same controller, there are some differences in the ...
0
votes
0answers
14 views
Load index.php from all directories using htaccess rules
I'm writing SPA using AngularJS and PHP Symfony3. I configured routing using angular-route module. When I click link on my page (product/1) I can see product page and everything is ok. Url in my ...
1
vote
0answers
18 views
Electron/AngularJS - Dynamically load video file from showOpenDialog
I'm a noob and still confused about some things.
I'm using Angular 1.5.8 with Electron and I'm trying to start a video loader when a dialog.showOpenDialog file is selected in main.js.
main.js
click(...
0
votes
0answers
14 views
Angular material tabs not working (md-tabs)
Using Angular material to open up a dialog which uses tab in the content body ( https://material.angularjs.org/latest/demo/dialog ). Now the dialog is popping up but I can on see the content of first ...
1
vote
0answers
13 views
Error: [ng:areq]
When I hit the url I get an error stating:
I m routing to the right js file from html still i am getting the following error. please check the code and what should be the problem?
angular.js:13642 ...