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 apps are also frequently known as Single-Page Applications.
0
votes
0answers
9 views
Angularjs limitTo not working in ng-repeat
I am retrieving a search query from php mysql into my angularjs app. The results are in the following format:
This object is then displayed in my angularjs app and displayed using ng-repeat. The ...
1
vote
0answers
9 views
Save Image to MySQL After crop Using ajax And PHP
Below code crops the image after chosen from the local then provides a copy
Is there a possible way to save the cropped image to mysql as i have seen many articles but they use php for both server ...
0
votes
0answers
6 views
Can I apply 100% SEO to angularjs or generating pages at server side is more effective?
I'm creating a shopping and advertising web site , I'm going to create a public api at the server side and let other devices connect to that.
I'm going to use angularjs as the client side for web ...
0
votes
0answers
2 views
multiple selection using mouse drag
I am using ui-grid v3.0.0-rc.22 in my application.
I use selection features of it and everything work fine, but i want to use selection using mouse drag.
Is it possible to select multiple row using ...
0
votes
1answer
16 views
Return the index of a div inside ng-repeat to use in jQuery ui droppable
I have an ng-repeat looping through a bunch of different fries.
<div class="normal-fries">
<div ng-repeat="fry in normalFries">
<div class="normal-fry">
...
0
votes
1answer
19 views
Angular filter with $http response
I need a filter where i need to make $http call and then return that response . i am trying to use angular promise but nothing works . Return is not waiting for the response . Take a look below for my ...
0
votes
1answer
12 views
ng-repeat elements are removed from the DOM after a moment rather than immediately
I have this instagram feed page which shows liked media from a specific user, the results are limited to 6:
<li ng-repeat="p in pics | limitTo: 6">
<a href="{{p.link}}" ...
0
votes
1answer
11 views
how to per click to reload route and not change route?
now i have menu directive and product page in diff module.
here similar menu
<ul class="nav navbar-nav" >
<li class="active">
<a href="#/product">Products</a>
...
0
votes
0answers
23 views
better to use golang as client side or angularjs?
I should write code for a selling site, i wonder is it better to use golang or angular.js as client side. (Seo is really important for me)
the server side will be written by golang.
is prerender a ...
1
vote
1answer
24 views
Email an angular Js form
I wrote a form in HTML and have used angular js there.
Nothing fancy, a simple form with mail to:email address in action.
The link http://www.chami.com/tips/internet/010597I.html says it should work ...
0
votes
1answer
8 views
ionic collection-repeat not working
When I refer the item individualy on angularJS it works fine, but in collection not work.
This colletcion not working in my ionic project, anyone knows what is wrong ?? thanks !
//JavaScript part
...
0
votes
1answer
12 views
How to preview image before upload with ng-file-upload
This is code snippet.
When user select a file by clicking on Change Image button, file gets selected and name is displayed in text box.
<img src="" alt="" border=3 height=75 ...
0
votes
1answer
9 views
Track By in ng-repeat throwing “Token 'track' is an unexpected token”
I've a simple ng-repeat with track by expression which wont work.
Here's Fiddle.
<div ng-repeat="n in [1,2,3,4,5,5,5,5] track by $index">
{{n}}
</div>
Resulting Token 'track' is an ...
0
votes
0answers
10 views
Simple authentication of REST get call with request interceptors of an Angular service
I want to pass in a username and password combination that is needed to make a REST call to an api.
Controller.js
var app = angular.module('myApp', []);
//The service to put the interceptor ...
0
votes
1answer
22 views
Unable to get around with ng-controller
I am a beginner with AngularJS trying to build a template using it.
My points.html page is like this:
<form ng-app="stdapp" ng-submit="save()" ng-controller="SubmissionController">
...
0
votes
0answers
6 views
AngularJS drag n drop treeview node to create grid
For an example, please refer to the below screenshot :
AngularJS drag n drop treeview node to create grid
0
votes
1answer
9 views
How to trigger the enter event for typeahead
How to trigger the event in typeahead. I have the code below using typeahead and when user selects any username in the drop-down box of typeahead I want to fill the user.full_name in the text box ...
0
votes
0answers
13 views
Dynamic Top Bar Text Based on Current Page in Zurb Foundation for Apps App
I am building a single page application using Zurb's Foundation for Applications and Angular.
What is the recommended way to display different text in the top bar (nav bar) based on the current ...
0
votes
0answers
16 views
How do I prevent InAppBrowser from auto running with AngularJS $route?
My app is running Cordova with AngularJS routing. I need the InAppBrowser plugin to view pdfs. However, since ngroute calls an html on a route change InAppBrowser is called.
I only need it to run on ...
0
votes
1answer
34 views
Loop within a loop appears to overwrite all results with the final result
I'm trying to loop through an array of months within an array of 'years' so I can calculate a count for each month using a custom angular filter. Below, In the first single while loop I create the ...
1
vote
0answers
41 views
Angularjs: push data into array from resource query and show in ngRepeat
there is an array data retrieved from a restful API using $resource and i fetch it using query() method. so i create a new data and i want to push the data created into the fetched array from ...
1
vote
1answer
9 views
Dynamic route request render in express framework
I want to try some dynamic routing. I'm using express framework for my node js server. here is my HTML Code
<a href="/views/adminpanel?url={{mMenu.WebAddress}}" ...
0
votes
1answer
20 views
How to use ng-filter Json [@attributes] using Angularjs?
I'm trying to filter sports feed by using sports id. but json feeds are @attribute based feed.
Json feeds
series: [
{
@attributes: {
id: "cdf590b4-0206-45b0-9122-20eae46a2b27",
name: ...
0
votes
2answers
28 views
How can I pass data from a service into my controller?
Okay so right now I am messing around with the ionic framework and learning angularJS at the same time. I just came across $q and async calls, but I just can't seem to get it right. I want to be able ...
0
votes
1answer
14 views
Angular POST request not formatting correctly
I have a very simply angular form that looks like this:
<form ng-submit="createNewQuestion()" name="createNewQuestionForm">
<div class="form-group">
<textarea ...
0
votes
0answers
26 views
Create Html Elements With Angular?
So, I have a seemingly simple problem - I have a list of locations, which have sublocations, which have sublocations, and so on. The first location (level 1) is picked from a drop down.
The goal is ...
1
vote
2answers
17 views
Add new input to dynamic nested list in AngularJS
On my page I have a dynamic list of musicians (players) whereas a player can be removed and added to the list. Each player shall have multiple instruments which is also a dynamic list, whereas an ...
0
votes
0answers
6 views
Kendo UI Angular Upload / Kendo Grid integration
Ok, here are the Versions:
Kendo UI v2014.3.1119
AngularJS v1.3.6
jQuery [email protected] jquery.com
The issue is the following: I have a kendo upload that should populate a grid after a excel file is ...
1
vote
2answers
21 views
Simple Return to Top Button Does Not Work with AngularJS
I am writing a web app using AngularJS on the frontend and I'm implementing a return to top button at the bottom of the page.
<h1 id = "top">
..........
<a href="#top">Return ...
0
votes
1answer
16 views
AngularJS Dropdown and Textbox Filter
I have an ng-repeat that creates a table of data. Each entry has several properties, including IP Address, MAC Address, author and more. I have a textbox that automatically sorts IP address, but I ...
0
votes
1answer
16 views
jQuery is loading my root route and all the scripts again through XHR
I'm stuck with this problem for a few days and I think now is the time to get some help.
I'm updating my Angular app from v1.3.0-beta.17 to v.1.3.x (head) and now I'm getting this message WARNING: ...
0
votes
1answer
23 views
Load JQuery where it's needed in AngularJS project
I have an animated 404 Error page created using JQuery.
The only to make it work with my AngularJS project is if i had the jquery.min.js, 404.js, 404.min.css and a javascript script tag in the ...
0
votes
1answer
16 views
Angular directive calling parent controller function
How can I get my directive to call to parent's controller function? I have a directive that look like this:
HTML:
<div ng-app="myapp" ng-controller="mainController as mainCtrl">
some body ...
0
votes
2answers
24 views
ng-repeat to create the hyperlink
I have an issue to create the list of hyperlink using the ng-repeat.
I have the user.spaces has a array of objects like
user.spaces is [
{device_name: 'phone1',
id : '11111'
},
{device_name: ...
1
vote
1answer
15 views
Fade-out and fade-in transition not working on ng-hide
I'm developing an application where a button is to be clicked which
then hides or shows a specific element.
I'm achieving this with ng-hide from AngularJS. For some reason the transition isn't ...
-2
votes
0answers
11 views
Chat Angular JS and Laravel [on hold]
Boa noite Nerds!
Eu estou trabalhando com um sistema utilizando laravel e angular JS e preciso ter um chat entre os usuários cadastrados nesse sistema.
Eu poderia fazer isto com o laravel e o ...
0
votes
0answers
9 views
How to track errors when using angular uiGrid importer?
I'm using Angularjs 1.3.14 and Django 1.8. I've implemented
importerDataAddCallback: function ( grid, newObjects ) {
within my controller's gridOptions.
When this runs all items from a CSV are ...
0
votes
0answers
6 views
Two chrome extensions using AngularJS and sharing the Gmail DOM crashing both
I have a chrome extension that injects functionality into the Gmail DOM that works fine when no other extensions are also trying to do the same. I need to use angular.bootstrap to bootstrap my ...
0
votes
1answer
30 views
How to change text in this case using ng-if or other expression?
I'm trying to change the text in a title tag based on a tag's direction value:
<li ng-repeat="t in tags">
<div class="tag"
ng-class="{'green-up': t.direction == 'positive',
...
0
votes
2answers
22 views
ng-repeat not working on Angular 1.3
Trying to display an array of objects from Meetup API in my html using Angular but I don't know why this isn't working?
I've tried {{member.results.city}}
{{members.results.city}}
HTML
<div ...
0
votes
1answer
10 views
Mongoose date schema returns wrong format for date on front end (AngularJS)
I am writing a web app using MongoDB, Mongoose.js, Express.js, npm, and AngularJS.
I have a form with a date range input field, the data gets sent to the server, and back to Angular by using:
...
0
votes
1answer
37 views
Getting lost in an existing JS project
I got into an existing JS project, a sole programmer has been working on it for 6 months and left without much explaining.
Anyway it is written in Ionic, and from what I have read and tested, just a ...
2
votes
2answers
38 views
Is it possible to interpolate an HTML element into the document in AngularJS?
Say in my controller somewhere I have:
$scope.elements = [document.getElementById('a'), document.getElementById('b')];
and I have valid elements somewhere in the document with IDs of a and b.
I'd ...
0
votes
1answer
17 views
OnClick in an angular-openlayers-directive marker
Thats it I want to create an onclick event on my marker, I'm using angular-openlayers-directive.
So far I've been able to make some markers show up, but I'm unable to get them after a click event.
I ...
1
vote
1answer
12 views
Ngclick Upload button ceases working without trace
Using angular-selenium-protractor. Select button and Uploading done via flow.js with ngclick as executor button.
ONLY Under protractor, Upload button ceases working when invalid internally formatted ...
0
votes
0answers
9 views
ui-grid randomly displaying $$Hash Key instead of grid data
I have a ui-grid that I update with data - sometimes it seems to display only one column, titled $$Hash Key - despite the data being there and being correct. Does anybody know what the cause of this ...
1
vote
1answer
24 views
tabs not storing scope vars
My markup:
<li active="active.search"><a href="#" ng-click="activate('search')">search</a></li>
<li active="active.lists"><a href="#" ...
0
votes
1answer
19 views
Angular-ui-boostrap accordion does not format correctly with span elements
Why does the angular-ui accordion in the below example seem to not like the span elements? I originally had these elements in a type of table (so I know they work) but decided to move them into an ...
0
votes
1answer
18 views
Angular.js 1.4.2 CSS Animations not working for ng-show
I am trying to add a CSS animation to clicking on the buttons, so the data either fades in or not. But currently clicking the buttons just instantly changes the class to and from ng-hide, so the ...
-2
votes
0answers
20 views
Best way to use AngularJS and .NET together [on hold]
I am writing an application from scratch using AngularJS and .NET. I had thought that I should use MVC5, but a coworker told me that all I need is webapi and ASP.net MVC is not needed.
Is that true?
...