Tagged Questions
-2
votes
2answers
16 views
input type=time is not supported in firefox need some alternative solution to implement it
input type=time is not supported in firefox. can you suggest me some alternative solution to implement it using angularJS. Thanks in advance.
0
votes
1answer
22 views
pass an ID to next page after clicking a link in angularjs
I have a list of places that I am printing list of places, and the idea is when the user clicks on the place it takes the user to another page where the details of the place can be viewed. How can I ...
0
votes
0answers
32 views
Dynamic Templates using Angular JS
I'm following this Blog post < http://onehungrymind.com/angularjs-dynamic-templates/> to understand the loading of dynamic templates using Angular JS in the same view. Now my requirement is ...
0
votes
2answers
23 views
Clear the ng-model asssociated to textarea inside Angular Bootstrap UI tabset form an outside button
I have used angular bootstrap ui tabset to create two tabs and both of the tabs have textareas associated with a ng-model, i have a clear button outside the tabset and i want to clear the ng-model of ...
0
votes
1answer
19 views
Advantages of the html5Mode?
I've read quite some post about the angularjs html5Mode including this one and I'm still puzzled:
What is it good for? I can see that I can use http://example.com/home instead of ...
0
votes
0answers
16 views
Cannot connect apache cordova mobile project with back end using angularjs
I am using apache cordova to build a mobile application(Android) and trying to connect the front end of the mobile application with back end which is created using java. The problem is when I am run ...
1
vote
1answer
30 views
Custom directive in angular js
Why this custom directive in angular js not working for me.I am only getting the user: but not getting the names of the user which I passed in the userinfo custom directive tag
...
0
votes
0answers
18 views
AngularJS: Zeus Slider Doesn't activate after first visit to page
I have a ZeusSlider on a site I'm doing for a guy in AngularJS, it loads the first time I visit the homepage, but not if I go back to the home page. The script is firing, so I'm not sure why the ...
0
votes
1answer
29 views
IE11's Console reporting that I have more than one body tag
I keep getting this message on the IE11 Console
HTML1514: Extra "" tag found. Only one "" tag should exist
per document. File: Login, Line: 76, Column: 1
When I read the HTML, there is only ...
0
votes
1answer
35 views
ng-Grid with ng-repeat horizontal headers
Hey thanks for checking out my question, I am trying to create headers in ng-grid with an ng repeat but horizontally. I am able to the ng-repeat working but the items are repeating vertically. Is it ...
0
votes
1answer
32 views
Using AngularJS to process custom localStorage data
I wrote a bookmarklet that retrieves information from a page and stores it in JSON format in local storage (converting it to a string first, of course).
I would like a web app I am writing to be ...
0
votes
1answer
29 views
How to apply/prevent overwriting/overriding css/style using javascript/angularJs?
I am new to angularJs. there is a requirement need to assign css property to component at/from js file level. I have kept debugger, after assign css style to component. In debugger level I can able to ...
0
votes
0answers
24 views
My checkboxes are misbehaving
I have a series of checkboxes as part of a form being populated with an ng-repeat. I have form validation on other parts of the form. If I select the checkboxes first, I can select and deselect them ...
-1
votes
1answer
39 views
Loading Partials with AngularJS
I'm new to AngularJS so bare with me if things aren't clear I'm sorry. So heres my question I would like to load my partials when needed?. For instance I have a partial which consists of 6 thumbnails, ...
0
votes
1answer
38 views
Why angularJS can't get the input value set by jQuery?
I have a script in jQuery that set a text box value :
$('.myDropdown li').click(function () {
var myInput = $(this).data('input');
$(myInput).val($(this).text());
});
it acts as select or ...
1
vote
1answer
21 views
Execute Javascript Advertise Script within AngularJS partial
I have a webapplication where I need to place some Advertise-Scripts in some of my partials. The scripts are like:
<script type="text/javascript" ...
0
votes
1answer
23 views
How to scan barcode with zxing and return with jsonp?
I am wondering if there is a way of starting zxing from the browser (as described here https://github.com/zxing/zxing/wiki/Scanning-From-Web-Pages) and getting the result with a jsonp callback or at ...
0
votes
1answer
23 views
angular ng-src and data-src together not work
When ng-src and data-src use together, it don't work, like that:
HTML:
<div ng-app="app" ng-controller="MainController">
<img ng-src="{{userpic}}" data-src="{{userpic}}" />
...
0
votes
1answer
33 views
Input type time with angular.js
According to the Docs input[time]: https://docs.angularjs.org/api/ng/input/input%5Btime%5D
it should be enough to use the input type time and bind it to a date oject, however it doesn't work as I'd ...
0
votes
0answers
19 views
Loading multiple file types inside object tag - html5
I'm loading different file types inside an <object> tag, one by one, by a button click.
The file types are - html, img & pdf. The file names are stored in an array.
If there is an img file ...
-1
votes
0answers
33 views
md-col-10 overflowing into other md-col
For some reason, my md-col-10 is not starting where it should. It's causing my table to do all sorts of funky stuff. I followed the CSS bootstrap grid system and have no idea why its doing this?
...
0
votes
4answers
48 views
What would be the best way to find an angular element by class?
Hey thanks for checking out my question. I am trying to find angular elements by class and push them into an array for another function.
$scope.find = function () {
var someVar = [];
...
1
vote
1answer
28 views
'required' validation not working properly using xeditable and angualrjs
I am working with AngualarJS and I have a Textbox on which i am implementing xeditable
<div id="editableTitle">
<a href="#" editable-text="template.title" e-required ...
0
votes
0answers
16 views
Update UI - Multi user session updates ng-grid angularjs
I'm using ng-grid extensively using angularjs. I tried to open two browser window sessions simulating multiple users. If user "A" updates a record in a browser page, without refreshing manually how ...
0
votes
3answers
49 views
Transporting value across view controllers not working
In an angular js application I have a table column defined in main.html as a clickable item. On clicking, it should go to a new customer page, carrying the value of the column cell as customer name. I ...
0
votes
0answers
43 views
Loading files inside object tag - html5
I'm loading different file types inside an <object> tag, one by one, by a button click.
The file types are - html, img & pdf. The file names are stored in an array.
If there is an img file ...
1
vote
4answers
32 views
ng-select won't recognise the ng-model is a valid option and should be selected
I have an angular app that contains a form, which has a select. I can choose one of the selects, and its updated in the model perfectly. But the next time i go in the form its suppose to be "pre ...
0
votes
2answers
40 views
onDblclick of a directive: toggle its boolean attribute value
I have a directive called contentEditable which is also referencing the html5 attr ::docs::.
<p contentEditable="{{edit}}" ng-model="pages.title">default</p>
on dblclick of directive, ...
0
votes
1answer
25 views
Comparing time logged in file with real time
I'm reading uptimes of several applications on different systems. Currently, when the application is launched, it creates an ID with a pingTime, and a pingTimeAsString. Both are read and shown in html ...
0
votes
1answer
45 views
How to make a time input with out am/pm
I want to make an input that will allow users to add time taken. I had hoped to do this using <input type='time"> which is pretty much exactly what I want I just don't want to have the am/pm ...
0
votes
1answer
40 views
AngularJs form types and browser compatibility
My question about AngularJs that I can't seem to google my way out of just yet has to do with the way Angular handles forms and form validation.
Ideally I want to make my form cross-browser ...
0
votes
0answers
47 views
Spring Boot with AngularJS html5Mode
I start my web application with spring boot. It use a simple main class to start an embedded tomcat server:
@Configuration
@EnableAutoConfiguration
@ComponentScan
public class Application {
...
0
votes
0answers
14 views
Reset nested html5 form fields to pristine state
I have a nested form in HTML 5, using the form property to link input cells in a table to a seperate form element that is not an ancestor (so that I can take advantage of html5 validation prompts ...
0
votes
1answer
30 views
Automatic AngularJS expression value in form submission via GET request
I have a web app written in angularjs that I want to send respective values from individual pages to a server via a GET request but I'm having it done automatically when the page loads.
A snippet of ...
0
votes
1answer
58 views
how to display barcode scan result on html instead of an alert in angularjs + Ionic
Hi I am working one of my project Inventory management, where user scan the any product barcode and get the value and use it. I have successfully achieved that using following code:
...
0
votes
2answers
29 views
Angularjs: Update model when radio button selection changes
I'm using Angularjs and I have two radio buttons with the same name access and different model fields model.field1 and model.field2, so I need to update the model when selection change, initially ...
0
votes
1answer
38 views
Table style view and AngularJS
I have a prbolem with AngularJS and table view. I have a JSON-data like this (for example):
{
{ name: 'Item #1', description: 'Item #1 description' },
{ name: 'Item #2', description: 'Item #2 ...
0
votes
1answer
33 views
How to show up the first element for a select tag in angular?
I have the following markup in order to create a select menu.
My model, devices, contains 3 object (ex: pc1, pc2, pc3).
When select is rendered I can see the list (collapsed) which has an empty ...
-1
votes
2answers
51 views
Angular js radio buttons for object array parameter
I am new to angular js, I am having trouble selecting default value for radio button for a c# list property,
I have fiddle link, and the code is as below,
HTML:
<div ng-controller="MyCtrl">
...
0
votes
0answers
26 views
PDF viewer for HTML5 and javascript with gesture support and without rendering issues on windows 8
I've created an app with AngularJS v1.2.10. The app is currently packaged for windows using winjs. I've implemented PDF.JS v1.0.68 as a pdf viewer. The problem is, and you can correct me if i'm wrong, ...
0
votes
1answer
27 views
At Angular Navigation .Designs mixed in windows phonegap app
In All application two screens contents get mixed with each other at navigation.
In iphone and android it works fine but not in windows.
I am using angular js 1.2.3, cordova 2.9.1, ...
0
votes
1answer
54 views
Screens Design get mixed at angular navigation in windows phone html5 app
Advance thanks for help,
In All application two screens contents mixed with each other at navigation. In iphone and android it works fine but not in windows. I am using angular js 1.2.3, cordova ...
0
votes
0answers
39 views
Angular one page site dont work properly when enables $locationProvider.html5Mode(true);
I have an application with the following routes on the server side
Main path: /
Api path: /api/*
Partials path /partials/*
I have a single page application with angular, with the following routes
...
0
votes
2answers
73 views
HTML5/AngularJS: How can you have an autocomplete list hold object values?
script.js
function loadItems() {
var data = [
{ name: 'Chicken', id: '7777' },
{ name: 'Corn', id: '9001' },
{ name: 'Cabbage', id: '6996' },
{ name: 'Chili', id: ...
0
votes
1answer
54 views
Angularjs sync two horizontal lists
I have two horizontal list that needs to move at the same time, I'm using angularjs.
I managed to get it workingt Jquery Mousewheel (github /brandonaaron/jquery-mousewheel).
But since I need the ...
0
votes
0answers
27 views
Angularjs IIS redirect html5mode
I got the html5mode almost working entirely in my app, but there are a couple of issues I am struggling with:
The 404 redirect
If I use a link as follows: site/Angular1/invalidhere then my 404 ...
0
votes
1answer
37 views
Using external Javascript files inside an Angular directive template
I am loading dinamically in my webapp "components", which has a directive, and a template, like the following:
angular.module('app')
.directive('carousel', function() {
return {
restrict: 'E',
...
1
vote
2answers
31 views
AngularJS html5Mode refresh fails
So this is my router:
var app = angular.module('tradePlace', ['ngRoute', 'tradeCntrls']);
app.config(['$routeProvider', '$locationProvider', function($route, $location) {
$route.
when('/', {
...
0
votes
1answer
55 views
Placing icon next to the input box
I have following code
<div class="form-group" ng-class="{'has-error': datepickerForm.date.$invalid}">
<i class="fa fa-calendar"></i>
<input type="text" class="form-control" ...
0
votes
0answers
49 views
ng-repeat not loading correctly in genymotion
I'm using ng-repeat (angularJS) to display some icons in my cordova-based app. It works perfectly in the browser when I preview it, but when I test it in genymotion, the ng-repeat icons don't show ...