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
1 views
Changing page in stateProvider not working
I'm using angular with ui-router and satellizer to check weather user is logged in or not.
Here is my example code:
var App = angular.module('myApp', ['satellizer', 'ui.router']);
...
0
votes
0answers
8 views
Filter not working in Angular JS ng-grid
Hi I am struggling with implementing filtering on a button click since long in angular js.
I have a input search text box ,search button and a grid as below
<div ...
0
votes
0answers
8 views
AngularJS setting JSON_CALLBACK in customer http interceptor
I have managed to intercept all ajax requests in Angular. What I want to do is automatically add parameters to the config data for every request which is always needed - such as api version and the ...
0
votes
0answers
7 views
Include CryptoJS in AngularJS application - Can't find variable: CryptoJS
I want to use CryptoJS in my AngularJS application, but I get this error: Can't find variable: CryptoJS.
I included this in my index.html:
<script ...
0
votes
0answers
4 views
what browsers version support GAE Channel Java API
I want to use GAE Channel Java API with angular
I would like to know which version of the PC browsers, mobile browsers support Channel Java API
on the official website about this is nothing written
...
0
votes
0answers
10 views
Round images for map pins
I am having trouble with Google Map Markers. I am wanting to have a round image as the pin for the map. After looking around, it seems like it is not possible. So i'm wondering if i could maybe change ...
0
votes
0answers
10 views
Subviews for elements in AngularJS
I want to have an single-page App (AngularJS) with following views:
Login
Main View
Now the Main-View should have different "elements":
- Toolbar
- Main Content Div
- 2 Sidebars
Can I handle all ...
0
votes
2answers
21 views
AngularJS - Controller JavaScript $http.get
I have the following code to get info from a JSON.
$http.get('http://localhost:3000/folder/'Id)
.success(function (response) {
...
1
vote
1answer
21 views
Angular ng-view animation callback
I'm learning angular and I have a question about the animations between ng-view templates.
When I click on the template link, the current template and the new one (clicked one) keeps animating ...
0
votes
0answers
5 views
Angular JS- Dreamfactory - Unable to connect : 403 Forbidden error
I am on Amazon Cloud EC2 DSP 1.8.0.
Following their docs on AngularJS this is how I am declaring my constants:-
angular.module('starter', ['ionic', 'starter.controllers', ...
0
votes
1answer
22 views
Angular JS : Concate variable with $scope
Here is my case , I have an array :
var fileParamsArray=['fileThumbanilRetina','fileThumbanilNonRetine','fileThumbanilHdpi' ];
and in my view i have :
<input type="file" ...
0
votes
0answers
4 views
Authentication with AngularJS and Firebase
Does anyone know of a tutorial or example showing how to do authentication with Angular and Firebase? The majority of examples/ tutorials out there are based on 'simple login' which is deprecated now. ...
0
votes
0answers
7 views
scroll bar position is changing automatically when an element is added to an array in IE11
I am facing one weird issue in IE11 but no issue in chrome. I am using angular and typescript ng-repeat to render a section which is collapsable and overflow is set to true for the main div and ...
0
votes
4answers
32 views
on ng-click parameter not passed correctly
I am passing a binded parameter to a function on ng-click like this:
<li ng-repeat="follwing in following.Users">
<a href="" ng-click="unfollow({{follwing.ID}})">Un-follow</a>
...
0
votes
0answers
8 views
TrNgGrid display custom column filter
I'm trying to add custom column filter (autocomplete, select ...) but can't find how. I tried to override default filter template with a tr-ng-grid-column-filter attribute on a th, but it does not ...
0
votes
0answers
14 views
Setting image src in angular directive cause all non image content to be hidden
So here is my directive https://gist.github.com/BrianTheCoder/e31a8cace1cc68f77e29. You'll notice that the image has no source or ng-src. If I add that to this directive, it cause all non image ...
0
votes
0answers
16 views
export data to xls using javascript with images and style formating
i stuck in a task where i have to export data to excel file with style formating and images using javascript. I am working with angularjs.
i tried lots of example but not able to find the exact excel.
...
0
votes
0answers
38 views
ngRoute does not work
I have two problems with angular routing and resolve. I am very new on Angularjs. Thats why my questions could be very stupid.
When I enter mysite/lsrc?q=keyword on the address bar of browser, ...
0
votes
0answers
15 views
Extend angular Controller
In the current project that I'm working, I have a controller which takes care of operations made on a Grid. Like delete Edit add new row initialize validation and so on. Every thing was fine at the ...
1
vote
2answers
36 views
Why won't my simple Angular.js app work?
I know this will not be considered a good Stackoverflow question, but I cannot for the life of me figure out why this won't work (based on Angular's own tutorials I'm following) and I have nobody to ...
0
votes
1answer
15 views
AngularJs - how to get $http result
I got a template written by angular but I am stuck with their programming style.
Here is some code
(function () {
"use strict";
angular.module("app.tables", []).controller("tableCtrl", ["$scope", ...
0
votes
1answer
33 views
AngularJS Php file with angular in it not working after $http
I have a php file with a bunch of angular stuff in it and it works fine when I include it directly, however once I include that php file via $http like this:
$http.get('include/step'+step+'.php').
...
0
votes
0answers
10 views
ng-file-select does not work when request fails
I am using angular-file-upload in my angular project.
https://github.com/danialfarid/angular-file-upload
<span ng-file-select="onFileSelect($files)" class="btn btn-primary btn-lg" ...
0
votes
0answers
32 views
How to call controller function from scope function and vice-versa in AngularJS
I am trying to call a controller function from $scope function. I am new bee in angular So I want all the ways I can call controller functions from $scope functions. Below is an example.
...
0
votes
2answers
22 views
AngularJS controller inheritance for controllers added to module defintion
In my angular app i have a module defined in one js file
angular.module('myApp',[])
In another js file I have a base controller defined
angular.model('myApp').controller('baseController',
...
0
votes
2answers
19 views
Do i need to host my angular app with a node server
Do i need to host my angular application on a node server for it to work?
I have been doing local development and am trying to integrate ui.router into my application but it does not seem to work ...
0
votes
2answers
33 views
Controllers using same function
I have a function that two controllers will be using, and instead of both of them having the same source code for the same function, I want it in one place and just inject the controller parameters ...
0
votes
0answers
15 views
Angular $valid value doesn't updates when the input is not valid
I'm trying to make a directive of input elements, with the following template
<label class="item-custom item-input input">
<i class="iconic"></i> <!-- gets icon class -->
...
0
votes
0answers
15 views
AngularJs : $scope is in $apply phase ,still $http request is not sending immediately?
I am sending Http request . But its not immediately fire.And i already checked that its scope is in $apply phase. So any one have idea that Why this one is happening??
My service like:
...
0
votes
1answer
13 views
Catching temlpateUrl path errors
I'm implementing a custom template inside a directive, like this:
.directive('card', function() {
return {
restrict: 'E',
replace: true,
templateUrl: ...
0
votes
0answers
16 views
Angular Translate - How to handle phrases with links
The two issues that I have are how to handle this are:
I am not sure if it is a good idea to let the translator have control of the actual link / action
The issue or rendering translated HTML. [its ...
0
votes
0answers
12 views
Blueimp File Upload angularjs json prefix
I'm using blueimp file upload angularjs version and have mostly got it working. The only area I'm having an issue with is parsing of the json response.
As recommended by angularjs team here - ...
-1
votes
0answers
9 views
A solutions for watching a factory object to fulfill an ng-style's value in IE?
Question:
What is the best method of watching a variable on change. The variable is being set from service and I must watch for changes from the controller. This watch is all to set the ng-style ...
0
votes
0answers
28 views
Issues with setting $scope variable to updated value of service/factory variable
Would very much appreciate some help with this:
I am currently using Firebase as a backend for data that is to be retrieved through my factory:
var schedulesFactory = function($firebase, ...
7
votes
2answers
66 views
angularjs $http.delete breaks on ie8
$http.delete('/api/carts/' + productCode).
success(function() {
cart.products = someMethod();
updateTotals();
}).
error(function() {
console.log('Could not remove product from card: ...
0
votes
0answers
10 views
FTP data and Angular
I am at a mental road block on this project. What I need to do is get data from a ftp service (from realtime voting count company's ftp) and bring it into the browser. Oh yea, it's an XML file..
In ...
0
votes
1answer
14 views
How to get image binary data and show it?
In my angular application I'm integrating the google authentication where I need to display a QR code that is generated on server side.
How using angular $http.get I can receive the binary data of ...
0
votes
1answer
25 views
How to Access client project directory from web api in Asp.net
My Asp.net project is Multi layer project like DAL,DATA,WepApi .... etc. My UI layer is the combination of html5,angularjs,breezejs etc. there is no server side code in my UI layer. my UI layer ...
0
votes
0answers
26 views
Convert AngularJS 1.2 validation to 1.3
The below validation directive works well. Can any one help me to convert this to angularjs 1.3 $validators syntax. Any help at the earliest would be really appreciated.
(function () {
'use strict';
...
1
vote
2answers
17 views
Can not use contrller in $stateProvider.state
app.js :
var testRoute= angular.module('testRoute', ['ui.router']);
testRoute.config(function ($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise('/home');
$stateProvider
...
0
votes
0answers
30 views
AngularJS ui-router doesn't work when I paste the URL to a new tab
I'm in trouble with ui-router. When I paste the URL to a new window/tab, the route doesn't happen. When I click on a link it works as expected.
Example: Pasting the url ...
0
votes
0answers
12 views
Running npm install and bower install on firebase hosting
I am using firebase hosting service and found that the command npm install and bower install has not been run. As a result, some of my components are missing.
Any way I can do this? Thanks!
-1
votes
0answers
21 views
Deleting Content in AngularJS array with ng-repeat and LocalStorage
I can't seem to figure out how to remove items from an array in Angular with ng-repeat and html5 localStorage. This is my code as of now.
<div ng-repeat="feed in list">
<span>
...
0
votes
1answer
29 views
Set select index
So I'm trying set a select index based on a value inside of some objects. As I cycle through the objects, in console I can see that the colorID is being updated and correct, just that the select ...
2
votes
0answers
30 views
Unit testing Angular directive with $http
I have an Angular directive that, when attached to an <input>, waits one second after user input before querying an endpoint with $http. In short, it's meant to check username uniqueness.
It ...
1
vote
1answer
20 views
HTTPInterceptor in AngularJS
We have APIs which returns errors inside the reponse XMLs instead of rejecting them and sending error responses.
So I have the following code to handle them,
$http({
...
1
vote
2answers
9 views
html form prevent submit when hit enter on specific input
I have an html form with some input fields in it, one of the input field is search field, when I click the search button next to this search input field, search results will be returned from server ...
0
votes
0answers
12 views
Buttons are not showing in ionic framework
Here is my link http://codepen.io/sanand29/pen/mKkvw `
<title>Ionic Template</title>
<link href="http://code.ionicframework.com/1.0.0-beta.8/css/ionic.css" ...
0
votes
1answer
24 views
Angular ng-repeat on radio button
Hi Am trying to achieve an html where when you click a radio button, I want to update my Obj.
so when I click save button I will send my Obj to api to save the data.
My problem is I am lost on how ...
0
votes
0answers
11 views
BindException: Adress already in use error
I have been struggling with this for three hours. I created this maven project a week ago. After that I changed the path of the projects and of the eclipse folder, and I opened the project today and ...