Tagged Questions
AngularJS 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 single-page ...
-3
votes
1answer
10 views
JavaScript Code for Screen Video & Audio Recorder
I am building a web based video+audio chat, Now I want to capture & record entire chat session.
2
votes
1answer
15 views
AngularJS make a call to the database only after the user enters one character.
I created an angular material autocomplete. Everything is working fine but now I am trying to modify the code and make a call to the database only after the user add one character in the autocomplete ...
0
votes
1answer
5 views
How to pass different config for each instance of a browser created by protractor in sharded config enabled.?
Iam passing the login details of a tested website using browser.params in protractor login suite. But the problem is that my web application has a restriction for single login for a user account. ...
0
votes
0answers
14 views
Ionic Tabs: Remove tabs from some pages
I am working on ionic 1 framework sidemenu app i just need to hide tabs from some pages. I have tried to add $ionicTabsDelegate.showBar(false) to controller file but no luck its not working. I ...
0
votes
0answers
6 views
angular.js - share cacheFactory data between blocks
I want to share the same $cacheFactory between .run block and a service.
I defined a $cacheFactory in my .run block :
var cache = $cacheFactory('cacheName');
and put some stuff inside:
cache.put('...
0
votes
2answers
17 views
hide and show button on button click in angularjs
i am creating a web app in which i have four button
1)click here
2) here click
3) (hide button) show click here
4) (hide button) show here click
3rd and 4th buttons are hide
what i want ...
0
votes
2answers
14 views
Different module components communication in Angular 2
I have One component and I want it to pass data to another one which is in another module. Actually my app.component is a parent of these children modules. And I want each child module to send some ...
0
votes
0answers
5 views
Accessing AngularJs Directive Controller [jasmine]
I am having a few problems accessing my controller on a directive that I am trying to unit test with jasmine and karma testrunner. The directive looks like this:
directive
angular.module('Common....
0
votes
0answers
11 views
AngularSQL recieved JSON data to JS Array
im currently reading out data from my MySql Database with a php script and AngularSQL as w3school did it in their tutorial.
The readout is working fine and I can access the data with "ng-repeat". The ...
0
votes
0answers
7 views
Static resource access control
I am now building up an one-page app using angularJS-1.5, with RequireJS for lazy loading. The application has very basic access control - Login or not, so some pages are non-accessible unless the ...
0
votes
0answers
11 views
Passing data from popUp window to parent window in Angularjs
Well, after searching and mind f*ck for 2 days, i cant find any solution to solve my problem.
Rails app + omnicontacts
I try to get my contact from gmail without reload my page. Ajax get gave me ...
2
votes
1answer
15 views
Facebook cordova login error : 'Failed to instantiate module facebookApp due to..'
Hi I am a beginner programmer trying to integrate facebook login using cordova. I followed this pretty recent guide shown here, and have copy pasted the code word for word in a new cordova project. I ...
0
votes
0answers
16 views
Javascript/AngularJS :Reading a CSV file and populating data grid on the page
Our requirement is reading a csv file and populating data grid dynamically on the page.
We are using Yeoman to scaffold our project.
We are facing thoses problems:
We installed angular-ui-grid using ...
0
votes
0answers
6 views
Fieldset disabled doesn't work on IE
I am using angularjs with fieldset
<fieldset ng-disabled="true">
Currently, by some google search and trying some workaround for this issues but it still not work in disabled mode:
I still ...
2
votes
1answer
26 views
Angular class change directive doesn't work
I want to add a directive that will do something when an element class is changed.
My directive is:
(function (angular) {
angular.module('myApp')
.directive('myClassWatch', myClassWatch);
...
0
votes
0answers
3 views
Ionic Framework Plist with IOS10
I don't know if Ionic has released an official documentation for this issue, but when I try to use my camera plugin the app crashes and Xcode leaves me this lovely report:
This app has crashed ...
0
votes
1answer
16 views
What will be the AngularJS equivalent of jQuery's .bind() / .trigger()
I have this trigger / bind code:
service:
$('body').trigger('ready');
directive:
$('body').bind("ready", function(){
alert("Ready was triggered");
});
Can I do the exact same ...
0
votes
1answer
25 views
Convert jQuery post with callback functions to angular $http
I have a angular controller that has a function which adds the html retrieved in post to a container. I can then click on a div within that sets a var result to some data onclick.
<div onclick="...
0
votes
0answers
5 views
Implementing SAML2 with AngularJS
I'm developing UI for an application in which it uses SAML2 for authentication.
Can someone explain answers for these questions
What all should be done in the UI for sending a SAML request to ...
-1
votes
0answers
10 views
Grid issue with expandable feature -i need expandable grid but UI grid is not stable it breaks my dropdown
I am using UI grid in my app which but in one page i need expandable grid but UI grid is not stable it breaks my dropdown. Can someone tell me some other plugin which i can use which is expandable and ...
0
votes
2answers
14 views
How to put Value from JSON API to Angular Template Directive
iam newbie and i want to ask.
i want to get some value from JSON API (title, course_id, etc), and put the Value to my Template with Directive. so at Index, i can repeat my tempalate with data from ...
0
votes
1answer
29 views
How to iterate through a property in object within an array in Angular?
In AngularJs, I'm using ng-repeat option to display questionText property inside each object in an array.
[{
"_id": "57fa2df95010362edb8ce504",
"__v": 0,
"answers": [],
"options": [],
...
0
votes
1answer
9 views
Why does TypeScipt show me error, when I change DOM-element via getElementsByClassName(), but application works anyway?
I have angular2 application. Due to some problems I forced to use inside method of component such code (I understand that it's over than bad, but ...):|
let confirmWindowDOM = document....
0
votes
0answers
6 views
Will a widget built on angularjs conflict if there is an angularjs frontend on a clients website?
I'm building a widget that my clients can install on their website. I'm thinking I can build it with angularjs frontend and Rails backend.
But I've read in a post from 2013 that building a widget on ...
1
vote
1answer
28 views
Can angular $resource module return data format other than jason?
The website I want to retrieve the data from provides api that I can hit,but I am not sure about the data format of the data,I am not sure if it is jason or not? and I am not sure if it is array or an ...
0
votes
0answers
3 views
ng-map default zoom is too zoomed in when used with zoom-to-include-markers=“true”
I'm trying to use the maps and I'm facing this case when I only have one marker and the zoom-to-include-markers="true", the result is that the map is too zoomed in no matter how I set the zoom ...
0
votes
2answers
24 views
Angularjs $http post request data and response with undefined error
I want to get specific value from server side. Therefore I am using $http to pass variable from front-end (Angularjs javascript) to backend(php). After server side (php) get the value from front-end. ...
1
vote
1answer
38 views
how to disable mouse click when progress-bar is loading?
In my angular app, I want to disable any external events like click when my progress-bar loads.
code for load progress-bar:
.config(['cfpLoadingBarProvider', function (cfpLoadingBarProvider) {
...
0
votes
1answer
20 views
Angular $rootscope.$on where to activate deregistration function
I have event listeners activated by:
var unregisterSubscription = $rootScope.$on(event, handler);
The event is activated in component and/or directive.
I want the listener to listen when the user ...
0
votes
1answer
23 views
AngularJS: Route displaying blank page
I have a route/view that is displaying a blank page. I am pretty sure it was working the way I have it right now a few days ago which leads me to think it is a problem with my Google Maps API key, but ...
0
votes
1answer
17 views
hybrid application development
Hi I Have an Application which works on all the platforms like ios,andriod and web. What I need to know is, is there any way to delete all the js files and all the data from the device on getting a ...
1
vote
0answers
7 views
AngularJS and Onsen ui not working on Windows Phone 8
I am developing a cordova project with angularjs and onsenui.
But angularjs is not working on windows phone 8.1 .
For Angularjs add winstore-jscompat.js . Then Angularjs working.
But onsen not working....
1
vote
2answers
16 views
Why is $location.path not working until I click on the screen
I have the following code that aims to redirect to the './mainlandingpage' after a successful authentication. Here is the code from the controller:
cognitoUser.authenticateUser(...
0
votes
1answer
12 views
how to return a angular js page from spring mvc controller
I have a jsp page from where I am calling rest controller
function getScheudledReportList() {
document.menuFrm.doAction.value = "EXPOSURE_SCHEUDLED_REPORT_LIST";
document.menuFrm.method = '...
1
vote
2answers
36 views
js form submit is not working
I am trying to submit a form, but the values are always empty.
my HTML:
<form novalidate name="creditCardForm" id="creditCardForm" method="POST">
<input type="hidden" name="...
0
votes
1answer
12 views
Accessing php session while using Angular Routing
I am using Angular routing and want to access a php session variable in the view.
<?php
session_start();
//print_r($_SESSION['query']); the variable is available and will print here
?>
<...
1
vote
0answers
14 views
modalinstance inject view model to update
I am using Modal popups to list out accounts details (accno and name). once row is selected from list view model variable(vm.vismaDebitAccount) need to update which is dynamic. In actual scenario ...
-1
votes
0answers
24 views
How can we restrict the angular to accept only Jpeg images?
when i tried to use the image tag i.e ng-src. it should accept only Jpeg format.If we give other format it should give an alert message like please use the correct image extension.?
2
votes
1answer
20 views
How to truncate messageText in AngularJS? [duplicate]
I am creating a broadcast message and i want to truncate the message displayed if it exceeds the length allowed into something like:
original message:
some text message that is very very very very ...
0
votes
2answers
30 views
Angularjs: Uncaught ReferenceError $rootScope is not defined
I am trying to run and got this message:
Uncaught ReferenceError: $rootScope is not defined at app.js line 12
here is my js/app.js
angular.module('addEvent', ['ngRoute'])
.config(['$...
1
vote
3answers
49 views
Getting an undefined value at Angular from HTML
I am passing the values from HTML to Angular using ng-modal but its giving me undefined at Angular. I am passing the value through ng-click to pass value to the Angular, where I am making use of the ...
0
votes
1answer
20 views
How to create angular login using wordpress data [on hold]
I'm creating mobile app using angularjs. I have wordpress website also. I have to create angularjs login for mobile application using this wordpress database. How to create this login for mobile app.
0
votes
1answer
19 views
angularjs why values not binding in Dropdown during the edit mode
Here i'm fetching Data from Database using Joins Query here im joining 3-Tables(Accessors,Countrys,States).When im getiing data Display its in table upto this everything fine..But when i clicked on ...
0
votes
0answers
11 views
Component earlier initialization and <multiselect>?
I'm using https://bentorfs.github.io/angular-bootstrap-multiselect/.
In the $onInit() method I fill ctrl.opts via $http call.
It works ok with normal select, but If I use :
<multiselect name="abc" ...
0
votes
1answer
23 views
Ionic - App works fine on browser and iOS simulator but not in android simulator
I am really new to the mobile development world and trying my hands on it using IonicFramework.
I am creating a login form and on successful login the user gets take to another state which is called ...
0
votes
2answers
23 views
AngularJs ui-router state change listener
I was trying to implement a listener which could listen to the state change event by doing something like this:
$rootScope.$on('$stateChangeStart', function (event) {
if (!AuthenticationService....
0
votes
1answer
34 views
Regular expression that allow some html tags
I'm using AngularJS text editor, I want to add more HTML tags to accepted by text editor other than default HTML tags allowed by editor.
For ex:
text editor will allow
<p>,<ul>,<li&...
0
votes
1answer
52 views
Angularjs How to Toggle div's in ng-repeat?
I am working in angularjs and I need to toggle div in ng-repeat but its not working fine. jQuery click is also not working on this. On click of pregroupMem() anchor tag I am calling this function. and ...
0
votes
2answers
19 views
How to show the most recent messages?
My task is actually trying to make a broadcast messages to show the most recent messages in a limited number only. I have found how to limit the messages in this thread. But right now i am struggling ...
1
vote
2answers
21 views
ng-pattern is allowing trailing period
I'm trying to create a HTML number input with angularjs that only allows whole numbers, no decimals. It works for numbers that have a decimal component to the number, e.g. "3.5", but not numbers with ...