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
8 views
How to get a data of object from Firebase 'key':'true' patern
I have this firebase data:
{
"userData": {
"user01": {
"name": "User One"
"provider": "provider0001"
},
"user02": {
"name": "User Two"
...
0
votes
0answers
12 views
How to trigger Real Mouse Click on page reload?
angular.element(document).ready(function () {
angular.element("#myDiv").click(function (e) {
if(e.hasOwnProperty('originalEvent')){
console.log('REAL MOUSE CLICK');
}
else{...
0
votes
0answers
6 views
Apache Zeppelin - error: overloaded method value run with alternatives
I am trying to use the angular binding feature available in Apache Zeppelin in the following code:
val ab10 = z.sqlContext.sql("select "+ z.angular("selectVari0") + " from MyDF")
ab10.toDF....
0
votes
0answers
6 views
Using sass-lint within npm script leads to error
I'm putting together an app using angular-cli. I'm going to write my styles in SCSS and as such I want to have linting available for my SCSS files. Node-sass is already installed when using angular-...
0
votes
1answer
23 views
Calling Angularjs Function from a different javascript/Jquery Function
I have two js files, app.js and datepicker.js. I have nothing to do with the html file here. There is a javascript function called clickApply() in datepicker.js. I want to call another submitDetails() ...
-1
votes
0answers
15 views
Multiple CheckBox Deletion - Angular 2
i am trying to a multiple deletion by selecting checkboxes but i get the error Foods.filter is not a function error in my console when i try to make a multiple deletion
html
<tbody>
&...
0
votes
0answers
8 views
How to customize the editor in kendo gantt chart?
When task is double clicked an editor pop up opens. I need to customize the following in this pop up.
Remove the task field.
Format Start and End date
Restrict start and end date according to ...
1
vote
0answers
9 views
How to implement cascading in angularjs MEANSTACK-editable-select
all i bind the data using angularjs ng-repeat and now i try to implement cascading in angularjs using editable-select but it's won't work anyone help how to solve this problem
My requirment is I ...
1
vote
1answer
29 views
Calling angular function inside controller from Jquery/Javascript
I have a submitDetails function inside controller in app.js file and I want to call it from a javascript function. But its throwing error
Error: Submit Details is undefined
clickApply: function(e)...
0
votes
0answers
12 views
Get list of Tags from EC2 instance Using Angular
So I'm using an AWS EC2 instance.
The instance has tags on it that i need to call into my angular application.
How can i call the tags on the current instance using the AWS-sdk
aws-cli is installed ...
0
votes
1answer
15 views
Only update focussed inputs viewvalue
I've got 2 input fields using the same model which I use as a filter on a ng-repeat list.
The first input is at the top of the list, and the second one is at the bottom. The list can be quite long.
...
0
votes
0answers
16 views
Angular doesn't display data on mobile devices
I can't understand why my app works properly only on PC.
If I open a browser, use mobile version and reload the page it works perfectly.
http://school528.spb.ru/main/admin/new/#/test-list
But if I ...
0
votes
0answers
32 views
cant display values of array
I have a textbox which display the code of users
<label class="control-label">USER CODE:</label>
<input placeholder="Enter a User Code" type="text" class="form-control" ng-model="...
-2
votes
0answers
10 views
Connect two tables with Php /Angularjs
Ich have two tables, i want to connect this two tables with Php/ Angularjs, but i cant do that. Please Help...
enter image description here
0
votes
0answers
5 views
2Checkout > Sandbox > Inline Checkout > redirects to the full checkout page
Problem
I'm following the 2Checkout docs for setting up the Inline Checkout. I have not been able to get the iframe popup to appear. No matter what I try it redirects to the full checkout experience....
0
votes
0answers
4 views
How to build an inplace edit with dart angular
I'm very impressed by the angular example that writes directly to a div (without having to hide/show an )
https://plnkr.co/edit/?p=preview
angular.module('form-example2', []).directive('...
0
votes
0answers
12 views
Angular Material - how to customise styling
In the Angular Material docs under the theming section it says:
If you need more custom styling (such as layout changes including
padding, margins, etc) you will need to either write CSS rules ...
0
votes
2answers
27 views
Toggle not working when angular is introduced
Faily new to the angular scene.
I have a toggle done in bootstrap below.
The toggle does not work when angular is simply added to the header with the <script src> tag
<li class="dropdown ...
0
votes
2answers
15 views
Spring MVC with AngularJS for presentation (is REST necessary ?)
I plan to use Spring MVC for a JEE application and i'm still debating whether to use AngularJS or PrimeFaces for presentation. My question is :
I've done some research concerning AngularJS with Spring ...
0
votes
0answers
23 views
Angular2 npm packages - How would I know what to download?
I find it very hard to know what packages/libraries I should use when I want to create an empty(!) - non angular-cli - app.
Starts by when I search angular2 in npmjs I get unwanted results , And I ...
0
votes
0answers
12 views
AngularJS Style Guide with newable factory
I am trying to follow the angular style guide and have run into a snag.
I have a generic apiHandler service which looks like this:
(function () {
'use strict';
angular.module('widget.data')....
1
vote
1answer
25 views
Pass function from Parent to Child component in Angular 2
I have a Array (mMemberCount) in Parent Component and based on the size of this array the child component (Reusable) is attached to Parent component.
<member-template *ngFor="let item of ...
-1
votes
0answers
12 views
how to use firebase for push notifiction in ionic framework?
I want to use firebase for push notification in ionic app?
please tell me all procedure how to use firebase in ionic with angular js.
-3
votes
0answers
23 views
How to group resultset in java based on primary key
Basically i want http://csharp-video-tutorials.blogspot.in/2016/02/angular-anchorscroll-with-database-data_4.html functionality. I have two tables.Now when i fire the query form java and get the ...
1
vote
2answers
34 views
What is the correct syntax of the following angularjs code to change bottom border color?
I am trying to use something like this:
//works fine
angular.element("#startDiscussion")[0].style.border = "1px solid blue";
The above works fine. How do I change only the bottom? border.bottom ...
-3
votes
0answers
15 views
best framework for real time GPS tracking
I'm searching for the best node.js framework for GPS tracking project where locations will be displayed real time on google maps. So far it was made with node+angular+express+socket.io but we are ...
0
votes
2answers
25 views
How to scroll to div in angularjs
I am trying to scroll to my tabs bar when I click on a button
My html(tabs)
<div class="col-xs-12" id="tabs">
---All the code here----
</div>
My js,
function ScrollTopForTabs(){
...
-3
votes
0answers
38 views
how to use if statement in ionic
$cordovaToast.show($scope.data2, 'long', 'center').then(function(success) {
if($scope.data2==="sucess"){
$window.location.reload();
}
}, function (error) {
...
0
votes
2answers
30 views
angular.forEach looping through string array
I have a function that checks for userPermissions and it is part of a Service called MyService . I am passing in an array with only one string. The issue I am facing is angular.forEach is looping ...
1
vote
0answers
12 views
ionic - how to route to targeted template correctly?
I'm trying to build an app using the template from here. I'm trying to make a login page but somehow the rendered template isn't the one I wanted.
Here's the login.route.js I made based on the ...
0
votes
0answers
5 views
Can angularjs be used on BroadleadCommerce?
Broadleafcommerce uses jquery but wanted to know if it could support angularjs as I am working on building a website that could be hosted on different platforms
0
votes
2answers
15 views
Can when function of routeProvider take multiple url paths?
my code its something like this:
app.config(function ($routeProvider) {
$routeProvider
.when('/', {
controller: 'HomeController',
templateUrl: 'views/home.html'
...
3
votes
0answers
38 views
Browser crashes when upload file with Angular
I am trying to upload files in JSON using angular and FileReader Api.
The problem is that for files larger than 600 - 700 KB my browser crashes.
As far as I can see the problem occurs when ...
0
votes
0answers
12 views
SQLError {code: 5, message: “could not prepare statement ”}
I am new to ionic. I want to store my form data into sqlite table. But, I see the below error message:
SQLError {code: 5, message: "could not prepare statement (1 no such table: items)"}
I think I ...
2
votes
0answers
16 views
Froala Editor - inserting multiple images
I'm using Froala Editor and stumbled upon a problem while trying to insert multiple images. The problem is that only the first image gets inserted and not the rest. I have searched the web for answers ...
0
votes
1answer
18 views
Using Mysql instead of Mongodb [on hold]
I'm a total beginner , I'm creating an angularjs project and i have to use MySQL , what is the difference between MySQL and Mongodb
I'm obliged to use MySQL
0
votes
2answers
33 views
validation using ng-class not working
In my application until all the mandatory fields are filled the update billing button doesn't get enabled. Here i have used ng-class for this validation. But rather than the button remain disabled ...
-1
votes
0answers
15 views
Want to implement pagination using angularJS directive
Want to implement pagination using AngularJS directive which is implemented inside third-party library. I am using ternary operator but the following expression is not getting evaluated correctly at ...
0
votes
1answer
16 views
FileUploader with custom headers
I'm using ng2-file-upload to upload files. I need to set a custom header. This is what I have:
this.uploader = new FileUploader({url: this.uploadUrl, itemAlias: 'files', headers: [{name: 'accept', ...
1
vote
4answers
28 views
JEE : form with jsp and angular
I'm a new in angular and I'm doing a little banking project.
I'm using JSP and angular 1.3.2.
I have a little form for creating an account. On the form when I blur after typing the customer number, if ...
0
votes
0answers
24 views
How to see field from second table in loopback?
I have this 2 models in loopback one called Permissions and the second one called langs_translate.
The tables look like this:
Prmission:
--------------------------
| id | icon | link |
------...
0
votes
0answers
15 views
Angular (2+) Singleton services for use in other modules
Im trying to work out what's the best way to achieve adding a singleton service to a 'core module' and consuming that service from a component within another module without creating a new instance of ...
1
vote
5answers
27 views
Sort based on array length within array of objects in Angular JS
Consider the following example,
var arrayOfObject = [
{name: 'ron', data: [1,3,5]},
{name: 'raj', data: [2,3]},
{name: 'roy', data: [1]}
]
In the view, I need to sort the objects in ascending order ...
0
votes
1answer
24 views
Routing syntax error zone symbol error angular 2
I am getting the below error while trying route my app :
metadata_resolver.js:972 Uncaught
SyntaxError {__zone_symbol__error: Error: Unexpected value '[object Object]' imported by the module '...
0
votes
0answers
13 views
Angular UI Grid Selection with fixed height, the scrollbar placeholder comes under the grid
I have setup a grid with selection. That works fine but i am trying to put a height on the grid and that makes the scrollbar placeholder under the grid. So its out of place.
I do currently have this ...
0
votes
4answers
20 views
$http:badreq - GET json Object
I want to make an $http request making use of the configuration object instead of the quick method. The request is of 'GET' method and the url targets a local json file.
The code looks more or less ...
0
votes
0answers
15 views
In html5mode urls in angular, if i manually type hashbang(#!) in the url, then it goes in an infinite loop
when i type #! manually in my html5mode url, it goes to an infinite digest cycle loop. I want it to redirect to html5mode url, but instead it goes in a redirect loop and the url becomes something like ...
0
votes
1answer
31 views
AngularJS Date issue
I need an AngularJS date picker that allows me to do the following, default the available dates (min and max), blank by default so the user has to enter a date if required, and for the user to be able ...
0
votes
0answers
12 views
Ionic bundle issue in ionic framework
I have been working on this application where the user can select the items he or she wanted to purchase accordingly however after the user log out and login again and select the same item, the ...
-1
votes
0answers
27 views
PHP return JSON object issue [on hold]
Hello I developing a web application using php and angularjs. I am trying to return some values based on the database where the insert was successes or not as JSON.
Here is my php code
try {
...