0
votes
1answer
15 views

Turn off (Ignore) placeholder attribute in html text/search elements

I would like to be able to turn on/off the placeholder from my search boxes if possible. <input type="text" placeholder="Enter name" /> <input type="search" placeholder="Type to search" ...
0
votes
0answers
8 views

How to get rid of blocks nested too deeply while using jshint with grunt?

Some one please help me to fix a warning in grunt. I am using fallowing condition in my project and i am getting a warning, Blocks are nested too deeply<5>. var chartGuideLines = function() { ...
0
votes
1answer
18 views

How do I implement `$locationProvider.html5Mode(true);

From what I understand doesn't $locationProvider.html5Mode(true); remove the hash from your URL? While it does that for me only the home page seems to be ok when you refresh the page. Isn't that what ...
0
votes
1answer
22 views

Custom directive scope in same element as controller

So I have encountered this issue while trying to migrate some working 1.2.16 code to 1.3.0. I've read the release notes, but haven't been able to find out exactly what is causing the issue What it ...
0
votes
0answers
19 views

Angular directive ui-show breaks ng-click

Issue ui-hide and ui-toggle randomly breaks binding of ng-click sometimes, only when the ng-click target is followed by the ui-show, and doesn't happen with all nodes (example with text instead of ...
1
vote
0answers
28 views

Html zoom only div element

I have angular project and I want to zoom some div on scroll. So far I only found zoomooz.js library which is based on jquery. So I want to know if there is any other library which is not based on ...
-1
votes
1answer
23 views

How to add angular js html5mode under controller

I am new in Angular js.I try to make html5 mode true in one of my controller .In my angular js app there is 3 controller but i need to html5 mode true in one of them not in all controller. I am using ...
-1
votes
0answers
17 views

Fixed table header with dynamic colums with angularjs

I have issue with table with and fixed headers help me to do, fixed header. If dynamic columns are more than one its woking good as above image. If getting not good design where there is only one ...
0
votes
2answers
31 views

show a field if only a certain radio button is checked

i have two radio buttons used in my form and follow to those two radio buttons i have another field. I want to show that field if only a certain radio button is checked.otherwise by default it should ...
2
votes
2answers
22 views

Does anyone know how to make this option behave like Anchor Tag?

This is a very simple question, but I am a bit of a beginner. This image is a combination of a glyphicon from bootstrap and a piece of text, but for some reason whenever I highlight over it, only the ...
1
vote
0answers
9 views

Video Tag not working in Android - Ionic and AngularJS

I've looked everywhere for a related issue on this, but either I can't find it or it doesn't exist. Basically, I'm creating an app for iOS and Android. I am including a video on the view using the ...
0
votes
0answers
18 views

User profile info getting reset after each page refresh (using Hello.js)

I'm using Hello.js in my AngularJS application to let users authenticate with Facebook. Once the user is logged in and I get the user information from Facebook, I use the json and get the user object ...
0
votes
1answer
9 views

Documentation on Tokens in an Element?

I am fiddling with the AnguolarJS SPA Template for Visual Studio 2012 and am looking for documentation on tokens in an HTML5 element. I'm using some examples to learn from and have noticed an ...
0
votes
0answers
8 views

creating a table in ionic

i am in need of creating a table in ionic.i thought of using ionic grid but could not achieve what i wanted. how can i do this? here i'll post a image of something similar to what i want i can use ...
0
votes
0answers
19 views

Syntax error handling in angularjs

I am having following code snippet in AngularJS <body ng-app="MyExample"> <div ng-controller="MyController"> <input type='text' ng-model="expr" size="80" /> ...
1
vote
0answers
67 views
+50

Browser-based local file-system to SVG base64 data string

The use case is storing resized svg in database. This question has 2 parts. How to get a url of a loaded image from <input type="file"> How to convert the image via canvas to svg I've been ...
0
votes
1answer
26 views

How to disable buttons on the selected value of the other in AngularJs

I have two buttons - Company Email and Non Company Email. If i select the first , ng-click="flag='Y'" and the second one renders the flag value as 'N' So now I am trying to disable them when they are ...
0
votes
1answer
24 views

Data binding (AngularJS) inside JS

I'm trying to use data binding inside a <script>. <ol class="breadcrumb"></ol> <div class=heading><h2>{{current.name}}</h2> ... <script> ...
0
votes
1answer
13 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
23 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
20 views

Using AngularJS Html5Mode with Wordpress [closed]

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
25 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
44 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
30 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
46 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
32 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
47 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
24 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
52 views

Why this Angular code don't work? [closed]

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: ...
0
votes
0answers
21 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
15 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
76 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
43 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
22 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
15 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
16 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
33 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
13 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
18 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
30 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
43 views

higher order function js in node school [on hold]

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
22 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
27 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
40 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" ) { ...