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 ...
0
votes
0answers
4 views
Send object from Angular2 to Spring Boot
I am trying to send data object from angular2 to Spring boot, but it doesnt work, there is no connection. Here is my code:
Server controller:
@CrossOrigin(origins = "*")
@RestController
public class ...
1
vote
0answers
8 views
Unable to show content when sharing on facebook [AngularJS] [duplicate]
In my website the content is rendering fine into title and meta tags, but when I share it with facebook or google, in the popup window it shows angular {{ }} there.
EDIT:
in the other question on ...
0
votes
0answers
6 views
twig loop / iteration through attribute
I want to iterate through my conditions and options in a offer.
Foreach offer I have multiple scopes. In the scope I have multiple condition sets.
My current problem is, that the scope is saved in ...
0
votes
1answer
9 views
How to associate a unique ui-sref to every items in a dynamic list?
I have a pagination system composed of items I retrieve from a JSON file. I can add/remove any of them. I want to associate to each of these items a link to a configuration view (each item has the ...
0
votes
1answer
4 views
RXJS - dinstinctUntilChange with multiple keys
I want to fire .subscribe() for my oberservable if one of three object keys have changed.
it works, if I copy & paste the method for each key:
this.myService.loadData(this.dataContainer.id, true)...
0
votes
0answers
5 views
beginner's: how to integrate gulp proxy server into existing gulp project
I'm completely new to gulp and nodeJs in general. I've been using it only with some templating engines (Jade) in my Angular projects. Now I apparently need to run a proxy server in the same port as my ...
0
votes
0answers
4 views
Why angular and spring use together,javascript files are not found?
Angular app,service and controller java scripts are not found.My error is as follows.error image
0
votes
1answer
6 views
angular js Unit test for directive jasmine
I have written angular js directive one method, but I don't know how to write unit test for that.
var app = angular.module("myApp",[]);
app.directive('minMax', function() {
return {
...
0
votes
0answers
13 views
routeprovider controller how it works
I am following the unraveling book to learn angular 1.5, and I am a little confused on chapter 03 exercise 05. Basically in other tutorials I was taught that when I want to assign a controller to a ...
0
votes
0answers
7 views
Pass scope value from one controller to another in ui router tabs
I have a tab based navigation using UI Router Tabs. There are three tabs [User, Address and Service]. Individual tab have their own state, url, controller and template. User tab view is shown first ...
1
vote
3answers
24 views
How to hide option value using ng-if condition in Angular JS
I have an Input form. The two input fields that I want to compare and display values if condition true.
input fields are :-
<td class="td_label"><label>Client Age :</label></td&...
1
vote
0answers
18 views
check if items inside ng-repeat already contains value
I have JSON string of question and answer which binds in ng-repeat ,
now problem is i wants to show question once and all multiple answer within ng-repeat .
this are my data.
{Answer:"White",AnswerID:...
1
vote
0answers
9 views
Enabling tooltip even if the buttton is disabled [duplicate]
The tool tip seems to disappear on condition if ng-disabled="true" for the button.
Please find the plunker here in which I have a button that has a tool tip since ng-disabled="false".But if I change ...
1
vote
2answers
15 views
using number filter in custom filter Angular JS
I am creating a custom filter for numbers in Angular 1.5 and I need to use the existing number filter in it.
I have this number format 3445 and I need to convert it to 3'445. For this purpose, first, ...
0
votes
0answers
4 views
How to download jsreport pdf without preview
I'm using angularjs, nodejs and jsreport. I enter a value in html and it is passed to the jsreport url. I can see the pdf at the url. I want to download the pdf without the preview.
This is the code ...
0
votes
1answer
10 views
How to open an html page that contains the information from a json file, another page that contains details of only specefic data of the json file
Sorry I couldn't put a good title but I hope you will understand my question.
In my html page, I am using AngularJS to show some informations here's my code:
<tr ng-repeat="d in list">
<...
0
votes
1answer
11 views
how to show “no match found” in typehead in angular ui?
What I want to do is this: when a user starts typing in the typehead input and no matches are found it should show a message saying "no match found".
Below is the code and a plunker:
HTML
<html ...
0
votes
0answers
5 views
NgMap module and MarkerClusterer function
I have data from external API and I wanna group markers in my GoogleMap.
I'm using NgMap directives:
ng-map center="[21.18, 27.71]" style='margin: 10px 0; height: 500px;' zoom='6'
marker ...
0
votes
0answers
5 views
generator-angular-blueprint injector error when running grunt build
I've followed the steps in then readme file.
When i run
npm run build
The build process returns no errors
Done, without errors.
Execution Time (2016-08-19 11:36:05 UTC+2)
...
0
votes
2answers
21 views
How to assign routes to tabset in Angular js?
I making <tabset> view to show the content in a page. Also I am using
Bootstrap's Tabs and Lazy Data Loading so that the controller for a particular tab is initialized only when it is active. I ...
0
votes
0answers
6 views
Function called in controller not recognized in karma unit test
I'm running few unit tests on a small Angular component. In my test I have accounted for all the variables declared in the controller for the component, but the function I'm trying to test calls ...
0
votes
0answers
7 views
Pouchdb synchronisation to Cloudant: how to synchronize deleted documents?
I have two tablets that run the same Ionic application. The app uses PouchDB to store its data local and the same data is stored on a remote Cloudant database on my Bluemix account. I've set up ...
0
votes
0answers
9 views
if we remove second div then third is replaced with second and again if we want to remove second div it doesn't work in angularjs
HTML
<div ng-repeat="nominedetails in nomines track by $index" id="nominee{{$index}}" class="row"><div class="col-lg-12 nomineeApplicants ">
Nominee{{$index+1}}
<button type=...
1
vote
0answers
9 views
nginx url rewrite for angularjs
I am building a website based on angularjs and nginx server.I am struggling at url rewrite for angularjs , I used my development environment as apache which is working well.I want to use extensionless ...
0
votes
0answers
11 views
HTML in popover with angular-bootstrap 0.12.1 & Angular 1.2.x
I'm trying to have HTML inside a popover content.
It's possible with a specific directive on the next versions, but I need to use the 0.12.1 version of angular-bootstrap since I'm using Angular 1.2....
0
votes
0answers
4 views
Firebase retrieve the user data stored in local storage as firebase:authUser:
I am working with Firebase and AngularJS. I am using Auth authentication for google login and i completed the process.Now i need to retrieve the user data that is stored in local storage like firebase:...
1
vote
2answers
18 views
New line breaks typescript code in Angular 2
I have this code which works as expected;
import {Component} from 'angular2/core';
@Component({
selector: 'media-tracker-app',
templateUrl: 'app/app.component.html',
styles: [' h1 { ...
0
votes
1answer
23 views
Modify the DOM in AngularJS
I developed a mobile application with Ionic. I have a controller that recovers a series of posts on a server and returns the data in JSON, which contains the following properties:
[{
"kick_id":"5",
...
0
votes
0answers
13 views
Angular2 - select2 in Bootstrap modal disordered after page refresh
This is the first time of load page:
This is after a refresh:
The issue does not happen when select2 in the normal page (issue only in bs modal) and I wrote modal element in the same HTML file.
...
1
vote
2answers
36 views
Angularjs: loop $http.post
script.js
for(var i = 0;i<$scope.data_acc_lv.length;i++)
{
var input3 = {
"_id": $scope.accLvID + i,
"acc_id":$scope.accLvID,
"...
0
votes
0answers
21 views
how make ng-options with json and dropdown
Help me please, how make ng-options with json:
{"bmw"{"x3","x5"},"audi"{"a5","a7"}}
With dropdown(if it possible):
<option>bmw</option> ->onclick show all bmw
"<option>x3</...
0
votes
1answer
8 views
AngularJS DOM traversal Concept
Can i traverse the DOM in angular like jquery ? In jquery there are multiple functions like parent(),siblings(), find(), children() etc... like this, Is there any functions in angularjs?
Is there ...
0
votes
0answers
6 views
Kendo grid with draggable headers in AngularJS
I am trying to create a Kendo grid that I can drag the header from to populate an input field as a string of the header column.
Using Kendos drag and drop I have created a basic table that I can do ...
1
vote
0answers
14 views
JavaScript download document with $window.open in Internet Explorer
Within my AngularJS application I want to download a (dynamically generated) document.
In my controller I have
$window.open(url, "_blank");
This works perfectly in Chrome and in Firefox. However ...
0
votes
3answers
22 views
How to change the name of the button? Ng-show, ng-if, ng-click does not work?
I am trying to change the name of the button from Hold Payment to Unhold Payment, it should first check the status of the checkstatus.is_holdpayment and then execute the function userhold_payment(). I ...
0
votes
0answers
8 views
Ionic - $scope.$on('$ionicView.beforeEnter', function() not outputting anything
I am trying to get data for the previos view in Ionic, by using $ionicView.beforeEnter to refresh the value of the back view every time I enter this view, but nothing gets outputted by it. This is the ...
0
votes
0answers
23 views
unable to store base 64 image in mongodb
I have a requirement to store base 64 image data captured using webcam js in mongodb
I tried to store the image data in mongodb but unable to do so
Server
schema:
var mongoose = require('...
0
votes
0answers
9 views
Integration of Cordova App in a Zend Framework website
I've done a small Cordova app, to run on an Android device, and I also want it to work in browser.
Now, I have this app, which is working, but I wanted to use it on my Zend framework website. I don't ...
0
votes
1answer
22 views
Convert url and query parameters into one query parameter:
I have an url:
var url = /company/overview
I have query params
var params = {
campaign = "back-to-work"
user = "1"
}
How can I convert these two values (originally extracted from $...
0
votes
1answer
8 views
How to use “upgrade adapter” with the Angular 2 RC 5
I have the Angular 2 application working in the mixed mode with Angular 1. My main.ts file looks like:
declare var angular: any;
var moduleName = 'myApp';
import { AppComponent } from './app/app....
0
votes
1answer
9 views
How to deploy an AngularJS app to PlayStore etc
I built a web-app using AngularJS + Angular Material and now want to deploy it to the AppStore (using Cordova I guess?)
What are the steps that I need to do to achieve this?
0
votes
1answer
18 views
How to set default value in asynchronous ng-options
The ng-options get asynchronous . How can I set the default value?
<select class="form-control"
ng-options="item.id as item.value for item in mInsu.INS_MAX_AMOUNT track by item.id"
...
0
votes
0answers
5 views
Isteven Multiselect angular disable-property
I've got 2 isteven multi selectors. I want to disable the item selected in first multiselect to be disabled in another one, could you help me? Input models are different, but data could be the same
0
votes
2answers
19 views
Before resolving the promise on service method,it goes to the main method's promise
I have written Angular Service as shown below.
getPropertyDetailsByUsingApiService.js
(function () {
appModule.service('getPropertyDetailsByUsingApiService', ['$http', function ($http) {
...
0
votes
0answers
23 views
Json retrieve newest object first
I'm creating an application where the the user has the ability to filter all it's data using a search field.
The ng-repeat has a infinitescroll on, to load the data in.
Though I am facing an issue ...
0
votes
0answers
9 views
How to eliminate angular2 template tags from the DOM?
Here is a fragment of the DOM, generated from angular2 component templates:
<wrapper>
<div id="wrapper">
<header>
<div id="page-wrapper" style="min-height: 561px;">...
0
votes
0answers
13 views
$ionicHistory.backView() returning wrong view
When I am using $ionicHistory.backView() it is returning the view that was before the view previous to the current view, so it is going one step back than it should be. But when I refresh the page on ...
1
vote
1answer
15 views
How to Handle Angular2 http request with Query Parameter?
I Have Tried
http.get('http://192.168.0.26:9000/api/task/counttask?projectid=-1&Teamid=-1&RoleId=-1&status=1&PID=-1&mytasks=0&alltasks=0&page=1&row=15&priorityid=-...
0
votes
1answer
16 views
Would that mean angular2 doesn't suggest rendering in server side
I got that angular2 could render in server side(even I don't know what's the benefit), and I really see an example of angular2 server side.
Angular 2 Universal Starter
But it seems angular2 official ...
0
votes
1answer
19 views
How to bind multiple events to the same input and make it work harmoniously in AngularJS?
I have a value in input box which needs to be sent to the server to fetch related values and to be displayed as a drop down list below.
The api call needs to be triggered on three conditions after ...