Tagged Questions
0
votes
1answer
6 views
HTML5 validation fail using AngularJS expression in href attribute
The code:
<a ng-repeat="..." href="{{...}}"></a>
I am using a plugin that requires the href attribute, so data-ng-href can't be used :(
Is there an alternative to keeping an AngularJS ...
0
votes
0answers
20 views
UI Router - Going to non angular app
I have a few routes in my Angular, and a few apps that exist outside the Angular world.
I'm using html5mode with locationProvider.
eg.
app.config(function($locationProvider) {
...
-1
votes
0answers
10 views
Using AngularJS Html5Mode with Wordpress [on hold]
I'm trying to work with angularjs html5mode in wordpress, but this option causes the page to be refreshed. Does anyone know help me?
I've tried using
and
But nothing.
Can Anyone helps ...
-2
votes
0answers
22 views
return arraylist from services.js to controllers.js in angularjs
here is my code. (* Please enter a question like! Im trying to receive data from a SQL database but the output is empty....)
.service('sharedPropertiesList', function () {
return {
viewList: ...
0
votes
1answer
43 views
How to use getElementByClassName in angularJS to change style properties?
some body please explain me how to get specific class name in nestloop.
<header class="secreportChartHeader">
<span class = "secreportChartHeaderTitle">
<div id="Global" ...
1
vote
3answers
27 views
angularjs validation issue in a form
I'm trying to do a validation to a form which contains a field called "description" .In that
1.description field cannot be empty
2.description field cannot be less than 5 characters
3.description ...
1
vote
0answers
40 views
angularjs input type=“number” not displaying negative numbers with a decimal fraction
When trying to enter a negative number with a decimal fraction into an input field of type number bound to a value with angularjs, the value is converted to NaN when the decimal character is a comma ...
0
votes
2answers
30 views
404 error trying to parse csv with javascript/D3
I'm trying to parse a local csv file in an Angular/Sinatra project - preferably using D3, but have also tried the HTML5 file API, Papa.parse, and an ajax call. However, I keep getting a 404 error ...
1
vote
3answers
43 views
Partially read-only textbox
How to make a text-box partially readonly using angularjs/HTML attribue?
For example, a textbox having default value say "+91",which is readonly and else part need to enter values.
0
votes
0answers
16 views
net::ERR_NAME_NOT_RESOLVED as a result of trying to consume web api from HTML5 client
Using the UpdateController.js file below:
(function () {
var app = angular.module("app", []).controller ('UpdateController', function($scope, $http) {
var onUpdatesComplete = function (response) ...
-2
votes
2answers
51 views
Why this Angular code don't work? [on hold]
Now, i'm trying to understand how Angular.js working with "Angular.js in 60 Minutes" by Dan Wahlin. And i stuck with this code, which in browser must look like this: ...
-1
votes
0answers
48 views
how to iterate json data in controller using Angular JS? [on hold]
Some body please solve my problem regarding JSON data.
I have created Json data which i have to use to as css attributes and values.
$scope.confdata = {};// contain json object data
The data ...
0
votes
0answers
18 views
Failed to load ngSanitize using angular cdn with the correct src
I'm new to angular JS...
I have
//HTML
src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.1/angular-sanitize.min.js"
//JS
var app = angular.module('myApp.view2', ['ngRoute','ngSanitize'])
...
0
votes
0answers
14 views
how to pass ng-model to $resource in angularjs
I have ng-model in the UI which I need to pass to the $resource for REST call
this is my $resource service
myApp.factory('SearchService',['$resource',function($resource){
return ...
0
votes
2answers
23 views
Default option in select box is not working with “selected”
for some reason the default option that I want is not showing up. When I had a empty option "Select Job Status" as the default it worked. It doesn't work when the value="" is not empty. But when I ...
1
vote
2answers
51 views
Angular UI select : Fetch data from remote service
I am using angular UI select.
https://github.com/angular-ui/ui-select
I looked around the demo's available at this plunkr
I want to fetch data from a remote service. Every time user types something ...
1
vote
2answers
29 views
Offline Web App using Angular JS , Twitter Bootstrap
I'm a beginner to hybrid mobile porpgramming.
Our requirement is to build a Offline Web App that can work on Laptop/Desktop and eventually use PhoneGap framework to make the App run on ...
0
votes
1answer
20 views
How can I show correctly Dates yyyy-MM-dd hh:mm:ss with HTML5 and Angularjs?
I'm trying to create an input with date and time but I don't get the way of doing it.
I've tried with input datetime,
<tr>
<td>Date</td>
<td><input type="datetime" ...
0
votes
1answer
12 views
Sqlite database connectivity in html5 and angularjs
Is there any way to store data into sqlite database with html 5 and angularjs for later upload?
0
votes
0answers
15 views
UI.Bootstrap moduler Uncaught error for version 0.9.0
I am currently trying to add a header to my html page by using 'data-ng-include' but I keep getting a "Uncaught Error: [$injector:modulerr] Failed to instantiate module agentOnlineApp" error. I have ...
1
vote
1answer
34 views
How can I pass a list as a parameter to a dialog?
Y must pass a list of data to a dialog to fill a combobox.
In other part of the code I passed a string to dialogs, but, using the same method for this case, It didn´t work.
Here is my js code:
...
1
vote
2answers
42 views
How to find the position of matching brace in data?
I am new to Coding and at present i am working on NodeJs file system module.
I am working on a file which contains large data and that data stored as a string.
My problem is , I am not able to find ...
0
votes
0answers
31 views
While append Angular js ng-repeat possible?
I am new to Angular js. i try to add some number of divs onclick Event
Script:
$scope.AddEvent=function(id){
$('#SubMenus').append('<div ng-controller="Maincontroller" ...
0
votes
1answer
12 views
How to evaluate and change the value of AngularJS expression in html file
In the following code snippet, status is returning 0 or 1, but I would like to evaluate and display the word "New" whenever status is returning 0 and "Old" whenever log.status is returning 1. How ...
0
votes
0answers
13 views
AngularJS File Upload to Backend Express Server
I am trying to do a file upload using angularjs, using angular-file-upload library (https://github.com/danialfarid/angular-file-upload)
Here is my code
// ===============================My HTML ...
0
votes
2answers
29 views
convert the following code from a for-loop to Array#map
i am working on simple js function...
I am trying to convert the following code from a for-loop to Array#map
providing my code below in the fiddle..
bnasically i am trying to learn array map..
...
1
vote
2answers
35 views
replace for loop with recursive function for
i am working on simple js function...
can u tell me how to replace the loop with recursive function..
providing my code below in the fiddle..
I am trying to learn js
http://jsfiddle.net/utbsgnzu/4/
...
-1
votes
0answers
41 views
higher order function js in node school
Can you tell me why I am getting this error..
providing my code below in the fiddle..
i am working on sa imple function...
can u tell me why..
i dint show me any error in run command..
but when i ...
0
votes
0answers
21 views
Uncaught RangeError - Maximum call stack size exceeded
In HTML I have,
<div><a ng-click="ChngPwdWin()">Forgot Password</a></div>
and in my controller I have,
$scope.ChngPwdWin = function(){
...
1
vote
1answer
23 views
html5 tags with ng-repeat
Trying to get draggable="true" onto a tag while creating a directive with angularjs. The ng-repeat seems to not allow it to render?
angular.module("dragApp", [])
.controller "DragCtrl", ($scope)->
...
0
votes
1answer
22 views
Loading test image into canvas
I'm trying to test an AngularJS service that gets handed the ImageData from a canvas, does some pattern recognition, and returns the recognized patterns. I would like to write a unit test (not an E2E ...
0
votes
2answers
36 views
Navigation In Ionic Angular.js
I am new in ionic and I want to navigate my home URL to new URL in ionic blank application. Can you tell me how to achieve this.
here is my code:
app.service('sharedProperties', function () {
var ...
0
votes
1answer
22 views
How to select and add data in existing file using Node JS?
Can some body please explain , I have a large data in my json file and i have to select at some point like data === smp('Report').
smp( "Reports" ) {
smp( "firewall_real_time" ) {
...
0
votes
0answers
23 views
ng-options and select library conflict
In my project I want use ng options instead of common
<select>
<option></option>
<option></option>
</select>
But my front-end developer is using some ...
0
votes
0answers
40 views
data-ng-repeat is not listing the contents of an array
I am currently trying to create a search page using Angular JS. Right now I am trying to test the code for the table that will contain the results I have created a test list that will be grabbed and ...
0
votes
1answer
26 views
Canvas image not displaying on load of page
I have this HTML + angularJS code :
<li id="imageLi">
<label id="imageLabel" class="imageLabel">Image</label>
<div class="inputImageDiv">
<div ...
-1
votes
2answers
37 views
Jquery Declarative way with HTML5 data-*
Would you know a way to use Jquery in a declarative way?
Some of you will tell me to use AngularJS but isn't there something more lightweight, with only view side (no need routing and complex ...
0
votes
0answers
33 views
Phonegap HTML5 Video Tag iOS
Hopefully an easy question. Using Phonegap 3.5, Angular UI. Trying to user HTML5 Video tag. Coded as:
<video ng-src="http://player.vimeo.com/video/11336811"></video>
The page loades ...
0
votes
1answer
38 views
1
vote
2answers
36 views
Angular ng-repeat groupBy and Keep order
Im using this filter https://github.com/a8m/angular-filter#groupby to order my data like so, and it works great:
<div ng-repeat="(key, value) in tags.tags.objects | groupBy:'category.name' ">
...
0
votes
0answers
19 views
ERR_INSECURE_RESPONSE issue
I have the following code:
<div ng-controller="menuController">
<div data-ui-view="tab_PlaceLoader"></div>
</div>
in my HomePage, where are other tabs are loaded using ...
1
vote
0answers
45 views
AngularJS Input type=date is not showing date on chrome for string value
When Json object comes from Server, date is always stored as string.
We need to show that date value in Input box to allow Edit/Update of object. But
<Input type="date>
only understands ...
0
votes
0answers
44 views
Understanding ng-model for Select options
My controller:
$scope.taglist = [{"name":"Fruit_Type","value":"0"},
{"name":"Leaves_Arrangment","value":"?"},
{"name":"Leaves_Margin","value":"?"},
...
1
vote
1answer
38 views
Keeping a views state
I have an app that filters out objects from a DB based on a simple form with select options, with each change in the form I get a list from the server with the filtered objects.
When the list ...
2
votes
0answers
39 views
Error handling “Out of Memory Exception” in browser?
I am debugging a javascript/html5 web app that uses a lot of memory. Occasionally I get an error message in the console window saying
"uncaught exception: out of memory".
Is there a way for me ...
0
votes
0answers
37 views
Designing a table like structure for an array of array of strings
HTML PAGE:
<div>
<ul ng-repeat='label in artifactClassification' >
<li >
<div ng-repeat='ClassificationTree in ...
0
votes
0answers
33 views
Angular JS + WCF RestFul service http.post method - How To do?
how are ya?
We are trying to validate a login page using a Restful WCF webservice.
The method signature in WCF interface is:
[OperationContract]
[WebInvoke(Method = "POST", RequestFormat = ...
1
vote
1answer
37 views
Recursion directive not working
I am trying to create a custom recursion directive. But it's not working
I followed the approach defined here
Recursion in Angular directives
Here is the fiddle
http://jsfiddle.net/x6kvwzuk/
Only ...
0
votes
2answers
42 views
Firefox OS cross origin framing
I am getting
Load denied by X-Frame-Options: https://example.com does not permit framing.
error for HTTPS secure. But the normal HTTP works fine in <iframe>.
Which settings are ...
0
votes
1answer
37 views
Receive a response from Webservice and interpret it in AngularJS
how are you?
I've got a simple question. I have the following msg return in my webservice (asmx):
msg = "~/Paginas/Home.aspx";
row.Add("Retorno", msg);
rows.Add(row);
...