-5
votes
0answers
34 views

function() in Angular javascript [on hold]

I do not understand what is function() in javascript angular. Can anybody explain that for me? app.controller("myNoteCtrl", function($scope)
0
votes
2answers
26 views

Auto-updatable values in angularJS

I have array of dates $scope.dates = [] ($scope.dates[0].date). I need to create another array with auto-updateble(!) values of durations. $scope.dates[i].duration = Date.now() - $scope.dates[i]....
2
votes
2answers
21 views

AngularJs Bi-Directional sort filter Example?

How to implement bidirectional sort filter example?
0
votes
1answer
21 views

ng-option and ng-repeat, linking up selected object

<select size="20" style="width: 585px" ng-disabled="disableControls" ng-model="ComputePermissionsService.selectedPermission"> <option ng-repeat="permission in ComputePermissionsService....
1
vote
1answer
18 views

Spring MVC doesn't load css, js files to static html pages

I disabled the role of the InternalViewResolver in order to access some static pages, html not jsp pages, i made the required changed, indeed i made and i can access my html page, but when i see the ...
1
vote
0answers
14 views

Android numeric keyboard keypress not triggered

I created a simple AngularJs directive which add a bind to "keypress" event: app.directive('filterInput', function() { return { restrict: 'A', scope: {}, link: ...
0
votes
0answers
9 views

Ionic: smooth scrolling in ion alpha scroll in `IOS` app like in iPhone contacts list

I am new to ionic1 framework and working on sidemenu ionic app. Currently i am working on IOS app. I have installed ion-alpha-scroll to show alphabetical listing in my app. Its working fine ...
0
votes
0answers
32 views

AngularJS datepicker layout

I'm working on the AngularJS datepicker. Its working fine but the layout of the input box is not right. I'm unable to rectify it. Here is the code snippet from my HTML page: <div class="form-...
0
votes
2answers
25 views

How to create a layout template for angular routing?

I use angular routing: angular.module("app-test", ["ngRoute"]).config(function ($routeProvider, $locationProvider) { $locationProvider.hashPrefix(''); $routeProvider.when("/", { ...
0
votes
2answers
33 views

Why are some of my Angular JS data bindings not working?

I am working on rewriting a site into Angular JS 1.5.7 and the code is not working with some data bindings. The data binds the first time I fire up the server and serve the files, but if I reload it ...
1
vote
1answer
21 views

Repeat code on button click with AngularJS

I want to create a page where you can add from 1 to n products dinamically. I've been working with AngularJS for a couple of months but it's kind of difficult for me to think this. The html code I ...
0
votes
1answer
14 views

Protractor - Having an issue getting menu elements

I'm trying to get different menu items to test the links, I've figured out how to do this with a dropdown, but just a general navbar is giving me issues. Here is the protractor code I'm trying to use ...
1
vote
3answers
54 views

Angularjs $scope.data not showing in html

I get the response from POST, it prints the data in the console but it doesn't show the data in the html page. I have my controller, its just that the {{user}} doesnt show in html page I can see ...
0
votes
0answers
22 views

Passing objects attributes to multiple text fields on form

I have some html/angular: <td class="col-md-4" colspan="4"> <label class="control-label ">{{item.fields[1].displayName}}11</...
1
vote
3answers
47 views

Angular, parsing array out of JSON object using ng-repeat

I'm wanting to iterate through multiple JSON objects i've pulled from my database to display the containing data. I'm having trouble getting comments, comments contains an array of strings, however, ...
0
votes
2answers
32 views

How do I check and alert for duplicates being inserted into my table?

For each make and model added via the "add" button, I need to check for a duplicate, set an alert if there is a duplicate and not let it add to the table. Cannot seem to find the solution... Below is ...
1
vote
1answer
29 views

Not getting Text on my Image in AngularJS?

.relative{ position:relative; width:600px; } .absolute-text{ position:absolute; bottom:0; font-size:24px; font-family:"vedana"; background:rgba(251,251,251,0.5); ...
0
votes
1answer
36 views

Populating dropdown field with text when a row is selected

I have HTML where I am trying to populate a drop-down with string data using jQuery when an item is selected from a drop-down. <td class="col-md-3" colspan="4"> ...
0
votes
0answers
14 views

css equivalent of WPF data template binding

I have a collection of objects in JS with a name and two boolean fields, which looks like the following. { "Name": "testname", "ReadAccess": true, "WriteAccess": false } I keep these in ...
1
vote
2answers
30 views

AngularJS Node app downloads instead of loading in Internet Explorer

Whenever I try loading my AngularJS webpage (on a node js + express server) through http://localhost:3000, Internet Explorer just tries to download it with a random name and no file extension, instead ...
1
vote
1answer
24 views

How can i move value from angular form to server nodejs

- This is the html: <body ng-controller="stripeController"> <form action="/stripe" method="POST" id="payment-form"> <span class="payment-errors"></span> ...
1
vote
2answers
51 views

Not able to disable a multi-select drop down

Hi I am new to AngularJs. Here my problem is on a certain condition I need to disable my multiselect dropdown. So, I made the logic and on with the help of I tried to disable the dropdown- document....
1
vote
2answers
33 views

edit & delete div after select option in AngularJS

This is my HTML <div class="row"> <div class="col-md-6"> <div class="dropdown pull-left"> <button class="btn btn-xs btn-default dropdown-toggle" type="button" id="...
2
votes
2answers
26 views

Getting Images in the form of Grid in AngularJS

How to display all the images in the form of grid, which all will come from back end, so the images are in the dynamic form. and I have to put Description as well on those images, and those ...
0
votes
1answer
36 views

Hide tooltip with message “This is a required field” of an input tag in HTML

I am working on some forms with angular material. All the required messages are attached to the input elements and they're coming from angular material with immediate validation when the user types ...
0
votes
4answers
50 views

How to write HTML code in $rootScope variable using angularJS?

I am trying to change the value of a label in my HTML page on an event,is it possible to insert html code into the variable? The HTML code is like: <div ng-controller="welcomeCon" ><label&...
0
votes
0answers
42 views

My angular js app is loading linked JS scripts twice [on hold]

My angular JS 1.6.1 app loads JS assets twice from the same script tag. Is there a way i can reduce it to optimize my load time of my web application? Adding code as per the request comment ` ...
0
votes
0answers
55 views

Complex ng-repeat Table

I have an issue creating an array of Tables from a nested array. Here is some JSON data that I want to use to create the table. { "project": { "id": "6", "name": "Project 1", }, "...
0
votes
0answers
31 views

Expanding Collapsing one at a time

I would like to know in the provided plunkr, how to expand only one at a time. When one is expanded the other one collapses. Here is the plunkr - https://plnkr.co/edit/LzJKGdaQJBNsgmUkOYti?p=preview ...
0
votes
1answer
41 views

AngularJS : ng-model in dynamic drop downs inside table not working

I am trying to create dynamic rows based on button click. The rows have drop down boxes. The issue is when I add new row and select an option in the new row the options which I selected in previous ...
0
votes
4answers
29 views

How to bind guid on table ng repeat using angularJs

by using following code am generating Guid //sal urn $scope.getGUIDSal = function () { var d = new Date().getTime(); var uuid = 'xxxx-xxxx-4xxx-yxxx-xxx'.replace(/[xy]/g, ...
0
votes
0answers
27 views

AngularJs, How to edit $scope values in other div using the same controller with factory

I would like to use two different divs one contains a form and other contains repeat for the $scope values. Those two divs needs to use the same controller. However I am not able to share data in ...
0
votes
1answer
20 views

jQuery / AngularJS: Tap hold not working inside AngularJS

Might be my code look stupid. I'm open for suggestion as I am no good in AngularJS. I want to hide image box and get the id of image. <div data-role="page" id="pageone"> <div data-role="...
0
votes
0answers
17 views

Screen flicker in ng-repeat

My AngularJS/Material app seems to flicker on an iPad, IE and Firefox where I've implemented an image slider on a timer by following this link, which happens when the image is changed in the slider ...
0
votes
2answers
22 views

Add new text to div every time button is clicked

I've been looking into AngularJS a bit, and I want to know it there's a way - without making the page refresh, to keep adding more text to a div every time the button is pressed, using AngularJS? I ...
0
votes
0answers
10 views

Setting Default Image angular-ng-upload directive Angularjs

I am using danialfarid angular-ng-upload directive. Through my PHP Backend i get user information and i am trying to edit the information for that user. One of the fields are user_image which returns ...
-1
votes
1answer
26 views

getting Rss feed in ionic 2 issues

please I'm having some trouble while trying to parse rss feed using Ionic Framework 2. When I run the code it returns an error: Cannot read property 'title' of undefined. Could you help me? The ...
0
votes
0answers
15 views

How to bind unique GUID on row repeat using angular

Am generated guid using angular //for grid 1 $scope.getGUIDForGrid1 = function () { var d = new Date().getTime(); var uuid = 'xxxx-xxxx-4xxx-yxxx-xxx'.replace(/[xy]/g, function (c)...
1
vote
2answers
47 views

Changing color of a <td> in a static HTML Table, depending if the BackEnd data is true or not in AngularJS without ng-Repeat

Warning: some words are in french in my code on pictures so I will explain what is about here This is table I am trying to change the color depending on the true of false value It is a simple ...
0
votes
1answer
19 views

angular material placeholders and input/textarea style

I want to use angular material for contact form but I have problem to change styles of input fields and placeholders or labels when is not on focus. I made codepen and if you look there placeholders ...
-1
votes
0answers
17 views

How can I synchronize between different Servlets?

I'm working on a website which has a log in page first and then next page has different sections that view data. The data to be shown is user related which means every user has a different data to be ...
0
votes
0answers
26 views

show html response as a pdf using javascript or angular

Hi I am new to angular and javascript, I got stuck in a situation i am getting a json response from api in which one key is returning a html response "data": { "abc" :null, "htmlresponse": "<!...
1
vote
2answers
23 views

Angular Routing won't work

I came across with Angular routing example when I'm following a tutorial. I tried as the tutorial but it won't work. But when I copied the code from the tutorial it works perfectly. Can anyone help me ...
1
vote
1answer
33 views

How do I prevent html element from being pushed down when dragging an element over?

I'm writing an angular directive using HTML Drag & Drop API. The directive works fine however it adds up an empty space between the elements when dragging an element over the other. For instance:...
-2
votes
0answers
12 views

Scroll to bottom arrow should get changed to up once reaches to bottom,similar to “about gmail page” angular js,css,html

Need to have Scroll to bottom and scroll to top action along with up arrow down arrow in the web page, arrow gets reversed, changes direction to up once reaches to bottom when we click on scroll icon....
1
vote
3answers
50 views

AngularJs ng-repeat custom structure

I have a dataset like this $scope.dataset= [ {"Name":"Alfreds Futterkiste","City":"Berlin","Country":"Germany"}, {"Name":"Ana Trujillo","City":"México D.F.","Country":"Mexico"}, {"Name"...
0
votes
1answer
29 views

How to get load more spinner while using infinite-scrolling in Ionic?

I can't get it to work. I am trying to show 10 items at once when scrolling down (so initially 10 and after scrolling, again 10 new items), while using ng-repeat and this works, but a load more ...
-2
votes
1answer
29 views

Suddenly my html started acting weird on an Angular project

I was coding a signUp page when I realized my inputs(checkbox and file) were texts instead of what they were supposed to be. I started undoing things to see what messed it up, and at some point when I ...
-1
votes
2answers
28 views

Format datetime object in Array and display in ng-repeat AngularJS

I've a function that gets a list of Users. Each individual user has a last_logged field which shows the last logged in time in this format 2017-02-04 19:54:47. What I need to do is display that field ...
-4
votes
0answers
42 views

How do I send an email from HTML & PHP to my GMail? [on hold]

I'm not understanding what I'm missing for the email to be sent to my GMail, I've turned on allow less secure apps. My testing-ground URL At this point I'm positive it's some part of code that I don'...